This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes HttpSession and sesion timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSession and sesion timeout" Watch "HttpSession and sesion timeout" New topic
Author

HttpSession and sesion timeout

Faisal Ul-Haque
Greenhorn

Joined: Dec 02, 2011
Posts: 10
Hi,
This is possibly a very stupid question but better safe than sorry.

I am developing a project that combines servlets and JSPs and obviously there is session and session timeout handling involved. Anyway the possibly stupid question is when the server (Tomcat 7) serves a request does the time remaining to timeout get reset (to either the setMaxInactiveInterval or session-timeout value)? Common sense (at least mine) says that this is the way it should be but I am asking just to confirm.

Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Yes.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: HttpSession and sesion timeout
 
Similar Threads
confusion on struts tile
what can be passed to case statement?
HttpSession
Default Session timeout issues Configuration!!!
Session Timeout in iAS 6.0