File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Increase Session expiry limit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Increase Session expiry limit" Watch "Increase Session expiry limit" New topic

Increase Session expiry limit

Shailesh Pillai
Ranch Hand

Joined: Jan 24, 2006
Posts: 78
Hello Merill,
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 ]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The following sets the session timeout value to 30 minutes.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Increase Session expiry limit
Similar Threads
Missing application web.xml, using defaults only
Handling Session TimeOut
servlet Date tracking
HTTP status error 404
Automatic Redirect to Login page on Session Expire