aspose file tools*
The moose likes Servlets and the fly likes session time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session time out" Watch "session time out" New topic
Author

session time out

Nijeesh Balan
Ranch Hand

Joined: Oct 09, 2000
Posts: 116
Hi,
I have set the session time out interval to be 2 minutes in the Session Manager Service of the Console of IBM/Websphere.
Now,
1. when I try to read the session time out using getMaxInactiveInterval() I always get 1800secs (30min). How do I retreive the session time out interval?
2. Session never times out after 2 minutes.. Wehn I noticed in the log file, the time difference between two requests was more than 5 minutes.What could be the reason for session not being timed out?
Your inputs would be highly appreciated.
Thanks & Regards,
Nijeesh.


Thanks & Regards,<br />Nijeesh.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
It seems like the interval you set is not actually getting set for some reason. That's whay it's returning the default value of 30 minutes. You can try restarting the servlet engine.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session time out