Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession and sesion timeout  RSS feed

 
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: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!