Configuring Tomcat session timeout

By default, the session timeout is set to 30 minutes.

To change the Tomcat session timeout, edit the $TOMCAT_HOME/conf/web.xml and change the values in the session section:

<!-- You can set the default session timeout (in minutes) for all newly   -->
<!-- created sessions by modifying the value below.                       -->
<session-config>
    <session-timeout>30</session-timeout>
</session-config>
Table of contents [ Hide Show ]