/[Apache-SVN]
ViewVC logotype

Revision 711711


Jump to revision: Previous Next
Author: rjung
Date: Wed Nov 5 21:56:52 2008 UTC (12 months, 2 weeks ago)
Changed paths: 1
Log Message:
Give thisAccessedTime and lastAccessedTime for sessions
a clear semantics:

- thisAccessedTime will be updated at the beginning and
  at the end of session use
- lastAccessedTime will only be updated at the end of
  session use

This means:

- lastAccessedTime is the last access time of a session
  disregarding any request still being processed on.
  So this is good to use even from within a request
  to detect when its own session has been used last before.
- thisAccessedTime already gets updated when a new request 
  disregarding any request still being processed on.
  So this is better for any idleness check or information.
- thisAccessedTime >= lastAccessedTime always

Changed paths:

Path Details
Directorytomcat/trunk/java/org/apache/catalina/session/StandardSession.java modified , text changed

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2