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

web.xml session-timeout value of 0 does not work as specified.

           Summary: web.xml session-timeout value of 0 does not work as
                    specified.
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Setting the session-timeout value to 0 in the web.xml file for a webapp, causes 
immediate (0 minutes) timeout rather than no timeout as stated in the servlet 
2.3 FCS specification.

"If the timeout is 0 or less, the container ensures the default behaviour of 
sessions is never to time out."

-1 (or, I suspect any negative integer) is a fine work-around.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to