aspose file tools*
The moose likes Servlets and the fly likes Session retention Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session retention" Watch "Session retention" New topic
Author

Session retention

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
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?


I am slow but sure
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

Until it expires.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Puja Mantri
Greenhorn

Joined: Sep 24, 2009
Posts: 15
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

Joined: Sep 24, 2009
Posts: 15
or you can invalidate the session on Window close event.
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

or you can invalidate the session on Window close event.


With Firefox, that's quite a pain actually.

cheers,
ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session retention