You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Dai <Pe...@OPLINK.com> on 2001/03/08 19:56:11 UTC

How to control session timeout?

I am using Tomcat 3.2.1.  For one application, I need very long session
timeout, so all the JSPs involved will be able to 
access the java bean what has session scope. I would like the session
invalidated only by closing the browser.

I tried to set timeout in web.xml to a very long value,
<session-config>
        <session-timeout>
            360
        </session-timeout>
</session-config>

Please let me know what else I need to do.

Configuration:  Apache + Tomcat + mod_jk + ajp13. No load balancing.

Thanks,

Peter Dai

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