aspose file tools*
The moose likes Servlets and the fly likes Destroy session when close browser. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Destroy session when close browser." Watch "Destroy session when close browser." New topic
Author

Destroy session when close browser.

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
Is it possible to destroy the session objects immediately he/she closes the browser?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

It is not. The browser sends no indication to the server that it has closed.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Destroy session when close browser.