Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession and sesion timeout

 
Faisal Ul-Haque
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65537
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!