You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/02 15:42:30 UTC

DO NOT REPLY [Bug 18609] New: - Session last access update

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18609

Session last access update

           Summary: Session last access update
           Product: Tomcat 4
           Version: 4.1.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: maple@seznam.cz


When accessing session (request), server updates only thisAccessedTime value 
with actual time, lastAccessedTime value is updated with thisAccessedTime 
value, but before its value updating. See 
org.apache.catalina.StandardSession.java source - method access(). Two lines 
has to be (maybe) in inverse order.

This error appears when refreshing session with auto refresh (some part of web 
application can't loose session) - if refreshing time is more than half 
of "session timeout time", session is invalidated before can be refreshed, 
because last access time is one access backwards.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org