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

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

Joined: Jan 10, 2002
Posts: 62275

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]
I agree. Here's the link:
subject: Destroy session when close browser.