RE: session expiry

2003-07-09 Thread Tom Drake
The servlet specification is a good source of such information. -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 5:11 AM To: [EMAIL PROTECTED] Subject: session expiry Hello All, A simple one? I have my session defined in a servlet thus:

Re: session expiry

2003-07-08 Thread Tim Funk
See the servlet specification from java.sun.com. In particular, session expiration can be set in web.xml. sessions can also be expired programmatically via its invalidate() method. Please followup with tomcat-user if you have more questions. This forum is for changing the internals of tomcat.

Re: Session-expiry bug? getLastAccessedTime

2001-02-12 Thread Murthy Gorty
Hi, I debugged thru Tomcat3.2.1 source code this morning and it too has the same problem: Session.access() is called only once per request, before the request is processed (called by findSession in StandardManager) This would mean that getLastAccessedTime() always gives the time of (last-1) req

Re: Session-expiry bug? getLastAccessedTime

2001-02-11 Thread Murthy Gorty
--- > From: Craig R. McClanahan <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Subject: Re: Session-expiry bug? getLastAccessedTime > Date: Sat, 10 Feb 2001 12:52:24 -0800> >

Re: Session-expiry bug? getLastAccessedTime

2001-02-11 Thread Kief Morris
Craig R. McClanahan typed the following on 12:52 PM 2/10/2001 -0800 >This was discussed by the expert group for servlet 2.3, and Kief's >understanding is what we came up with. In addition, that is what Section 7.6 >says in 2.3 PFD (emphasis is added): > >The getLastAccessedTime method of the

Re: Session-expiry bug? getLastAccessedTime

2001-02-10 Thread Craig R. McClanahan
Kief Morris wrote: > Murthy Gorty typed the following on 09:59 AM 2/9/2001 -0800 > >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 > >l

Re: Session-expiry bug? getLastAccessedTime

2001-02-10 Thread Kief Morris
Murthy Gorty typed the following on 09:59 AM 2/9/2001 -0800 >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 thisAccesse