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 secondsset from the SessionTimeout value in the YFS_USER table. To set a different session timeout, configure two parameters in your web.xml file:
- A context parameter to allow the timeout value to be set from
the fileNote: If this value is not set, the session timeout parameter is ignored.
- A session timeout parameter to set the numeric value
To customize session timeouts:
- Edit your EARFILE/WARFILE/WEB-INF/web.xml file to add the context
parameter scui-suppress-user-level-sessiontimeout-override. Set the
value to y:
<context-param> <param-name>scui-suppress-user-level-sessiontimeout-override</param-name> <param-value>y</param-value> </context-param>
This allows the session timeout to be set from the timeout value.
- 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>