Customizing web.xml for session timeouts
You can customize the session timeout value in your web.xml file.
The default session timeout value is 6000 seconds
set from the
SessionTimeout value in the YFS_USER
table. To set a different session timeout, configure the following two parameters in your
web.xml file:- Set a context parameter to allow the timeout value.Note: If this value is not set, the session timeout parameter is ignored.
- Set session timeout parameter as the numeric value.
- Edit your EARFILE/WARFILE/WEB-INF/web.xml file to add the context parameter
scui-suppress-user-level-sessiontimeout-override. Set the value to true:
This allows the session timeout to be set from the timeout value.<context-param> <param-name>scui-suppress-user-level-sessiontimeout-override</param-name> <param-value>true</param-value> </context-param> - Add an entry to web.xml to set the session timeout configuration parameter, in minutes:
<session-config> <session-timeout><timeout_value_in_minutes></session-timeout> </session-config>