tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18609] New: - Session last access update
Date Wed, 02 Apr 2003 13:42:30 GMT
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


Mime
View raw message