Setting the User Session Timeout

The session timeout interval (in seconds) is defined in the YFS_USER table for the corresponding user. By default, in the YFS_USER table, the session timeout value (in seconds) for each user is set to 6000. If the value is set to 0 or negative integer, the session timeout is defaulted with the value set for the application server, which can be overridden using the web.xml file located in the EARFILE/WARFILE/WEB-INF directory.

About this task

You can set the session timeout interval (in minutes) for all the users. For this, in the web.xml file add or modify the session timeout entry in the session-config element, and set the value of the context parameter scui-suppress-user-level-sessiontimeout-override to true. For example:

<session-config>
   <session-timeout>30</session-timeout> 
</session-config> 
 
<context-param>
   <param-name>scui-suppress-user-level-sessiontimeout-override</param-name> 
   <param-value>true</param-value> 
</context-param>

By default, the context parameter is not provided.

Note: It is recommended that you configure session timeout appropriately based on your business need.