axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7536] New: - Incorrect session timeout logic
Date Wed, 27 Mar 2002 20:33:16 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=7536>.
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=7536

Incorrect session timeout logic

           Summary: Incorrect session timeout logic
           Product: Axis
           Version: beta-1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: kweiner@interactivebusiness.com


org.apache.axis.handlers.SimpleSessionHandler incorrectly determines whether or 
not a session has timed out.  On line 161, the ">" should be a "<":

if ((session.getTimeout() * 1000) > (curTime - session.getLastAccessTime()))

should be

if ((session.getTimeout() * 1000) < (curTime - session.getLastAccessTime()))

Mime
View raw message