Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session retention

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If user is logged in with active session but closes the browser abruptly. My question is, how long the session will remain active because there's no signal for destruction of session?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Until it expires.
 
Puja Mantri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
session expires after the session timeout period mentioned in the web.xml. The value is specified in minutes. Default session timeout is 30 mins.
 
Puja Mantri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or you can invalidate the session on Window close event.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or you can invalidate the session on Window close event.


With Firefox, that's quite a pain actually.

cheers,
ram.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic