Already a member?
Sign in
Location: Oracle Enterprise Taxation Management
Discussion: Increase Web Server timeouts
Keyword tags:
None
Watch
|
DouwSteyn DouwSteyn |
Increase Web Server timeouts
Feb 13 2008, 11:58 AM EST Tomcat 4. Setting session timeout In web applications every user is identified by a session. The session holds information about the user. A typical example is an internet shop: the contents of your shopping cart is stored in a session. To prevent the number of sessions to increase infinitely, they are destroyed after certain time of inactivity (time without changing the page) from the user. This is called session timeout. All user data stored in the session disappears (e.g. you have fill your shopping cart again). Sometimes the default session timeout may be too low, especially when the user is expected to spend a lot of time on a single page. To increase the timeout value in Tomcat, please locate the following section in [Tomcat_home]/conf/web.xml : <session-config> <session-timeout>30</session-timeout> </session-config> The timeout value is specified in minutes. Restart Tomcat after modifying the file, so the changes can take effect. 4 out of 8 found this valuable. Do you? |
|
splaxw splaxw |
RE: Increase Web Server timeouts
Feb 14 2008, 8:24 AM EST Conversely, all j2ee application servers should support the same stanza {<session-config><session-timeout>} in the deployment descriptor where a value of -1 means that the session should never be timed-out. 1 out of 4 found this valuable. Do you? |

