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/11/18 11:21:06 UTC

DO NOT REPLY [Bug 24774] New: - session timeout working only once

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=24774>.
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=24774

session timeout working only once

           Summary: session timeout working only once
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: martin.hajduch@assyst-intl.com


i'm having this problem:

1. after x mins of inactivity, user session is invalidated
(PersistentManagerBase.processExpires)
2. StandardSession.expire does setValid(false) and expiring=true at the beginning
3. then it calls StandardSession.removeAttribute -> SessionMonitor.valueUnbound
-> StandardSession.getCreationTime
4. StandardSession.getCreationTime throws exception because isValid==false
5. this 'kills' PersistentManagerBase thread

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