Hi,

I noticed a problem with session timeouts in Tomcat3.2.1
The background thread that recycles sessions based on timeouts uses 
Session.getLastAccessedTime().
The session object itself has two variables
lastAccessedTime and thisAccessedTime.
-----------------------------------------
    public long getLastAccessedTime() 
    {
        return (this.lastAccessedTime);
    }
--------------------------------------------
lastAccessedTime is the time a request is made BEFORE the present request.
So, getLastAccessedTime is the time of the (last-1)request 
and not the last request.

Isnt this a bug? shouldnt getLastAccessedTime return
thisAccesstime?

I'd appreciate it if the replies are also sent to [EMAIL PROTECTED]

thanks,
murthy

_________________________________________________________________
http://www.TeamOn.com Transform Your E-mail into an Online Office

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to