wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes Session Timeout in iAS 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Session Timeout in iAS 6.0" Watch "Session Timeout in iAS 6.0" New topic
Author

Session Timeout in iAS 6.0

Tony Moses
Greenhorn

Joined: Aug 21, 2002
Posts: 22
I am getting erratically timed out of an applicaiton I developed on iAS 6.0. I have set the Session Timeout in the GUI Deployment Tool under both the General tab and the iAS tab of the Web App Descriptor. In addition, I have a controller servlet which executes session.setMaxInactiveInterval(int). My 2 part question is why am I getting timed out? and should I be setting the session timeout in the app server GUI and executing code to set the timeout, and if so which one takes precidence?
David Ogren
Author
Ranch Hand

Joined: Jul 19, 2002
Posts: 66
IIRC, session.setMaxInactiveInterval is not supported by iAS and calls to it will be ignored.
On the other hand, I can't tell you why you are getting timed out early. There are some issues (largely when the reaper thread is overloaded) where timeouts don't happen promptly, but I can't say I've heard of any issues where it is happening too soon.


David F. Ogren
Author of iAS : Designing and Building J2EE Solutions
 
jQuery in Action, 2nd edition
 
subject: Session Timeout in iAS 6.0