| Author |
problem setting session timeout value
|
M Das
Greenhorn
Joined: Aug 13, 2011
Posts: 2
|
|
Hi friends,
Well i implemented a simple web app, and was trying to set the session-timeout to 30 minutes or whatever in web.xml in tomcat, but somehow the application gets 600 seconds as the value of session.getMaxInactiveInterval(). If i set by setMaxInactiveInterval(30) it takes 30 minutes, but otherwise it is always 600 seconds. Even if i change the value to something else in web.xml it does not matter!
If i know what are the possible places that session timeout property is set, i think i can resolve it. Please help me in this.
|
 |
vinayak jog
Ranch Hand
Joined: Apr 01, 2011
Posts: 76
|
|
|
Did you restarted tomcat after every reset in web.xml ? or what ever configure file you are using for setting the time
|
 |
 |
|
|
subject: problem setting session timeout value
|
|
|