JBoss.orgCommunity Documentation

Configure the session timeout for the web server

The session timeout defines the validation period of a session. In the portal environment, such as eXo Platform, it is highly recommended that all web applications have the same session timeout value.

The session timeout is configurable individually for each web application in the web.xml file:



<!-- ==================== Default Session Configuration ================= --> 
<!-- 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>