File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Increase Session expiry limit
Joined: Jan 24, 2006
Sep 15, 2006 20:07:00
Previously, i had a post on Session Time out Problem. In that post, you specified in order to increase or decrease the session expiry time we need to do the following :
Specifying how long before a session expires can be done in your application server's admin interface or in your web.xml file.
Can you please specify what changes we need to do in the web.xml file to achieve the result.
[ September 15, 2006: Message edited by: Shailesh Pillai ]
Joined: Feb 15, 2005
Sep 15, 2006 20:42:00
The following sets the session timeout value to 30 minutes.
<session-config> <session-timeout>30</session-timeout> </session-config>
It is sorta covered in the
JavaRanch Style Guide
subject: Increase Session expiry limit
servlet Date tracking
Automatic Redirect to Login page on Session Expire
Missing application web.xml, using defaults only
Handling Session TimeOut
HTTP status error 404
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015