File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes expired sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "expired sessions" Watch "expired sessions" New topic
Author

expired sessions

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
HEllo all,

" sessions in the Web Application expire" ..
When the session is inactive for time more than the specified timeout in the web.xml ,the session is considered as expired.
but does that count for the sessions for which the browser window is closed?

Thanks,
Trupti
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

"the browser window is closed" is a client-side concept. The server has no idea whether the browser has been closed, the user is looking out the window, eating lunch, gone to the rest room or has fallen asleep.

Sessions expire when there has been no activity for the set perios of time regarless of why that period of inactivity has occurred.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: expired sessions