Aaron Porter wrote:
>
> It is pretty much useless if it simply returns the time the current request
> (or a request after the current one) accessed the session. This is exactly
> what JServe (1.0b3) does. It sets the lastAccessTime before calling
> service(). It would be very easy to move the call that sets lastAccessTime
> to occur after the call to service(). It appears that Jetty sets
> lastAccessTime before it calls service() also.
>
> Is there any use for it if it usually just returns the time the current
> request accessed it?
Probably not much use for a servlet, but it's used by the server to decide
when to time-out a session that hasn't been accessed for some time.
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html