aspose file tools
The moose likes JSP and the fly likes Session timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Session timeout" Watch "Session timeout" New topic
Author

Session timeout

Ghaith Rabadi
Greenhorn

Joined: Oct 28, 2007
Posts: 15
hi all can any one help me how to implements sessionTimeOut in the jsp using web.xml?
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1318

this is what i get from the FAQs Scwcd Hints in javaranch,

6) A value of 0 or a negative value in the session-timeout of the session-config in the web.xml file (which is expressed in minutes) indicates that the session never expires. However, this can be overridden using the setMaxInactiveInterval() in the code where the time is in expressed in seconds. Always Remember web.xml in minutes and the code in seconds.


or if still you have some confusion regarding this, then use search facility in javaranch, apply key word "session web.xml" you will definitely find some threads with related topic.

hope it helps.


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
hatem odeh
Greenhorn

Joined: Jun 16, 2008
Posts: 24
absloutly it's very interesting
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Session timeout