Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to set session timeout in tomcat

843841Apr 9 2003 — edited Jun 24 2003
My session expires aproximately after 30 minutes. How to increase timeout parameter in tomcat.

Also I am not able to use session.setMaxInactiveInterval() method.

While compilation it gives me error
Method setMaxInactiveInterval() not found in interface javax.servlet.http.HttpSession

I am using JSDK2.0
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2003
Added on Apr 9 2003
5 comments
676 views