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 Destroy session when close browser. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60050
    
  65

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: http://aspose.com/file-tools
 
subject: Destroy session when close browser.
 
Similar Threads
how to invalidate a session when browser is closed
how to reject multiple logins
Tomcat restarted and session still work?
Question Regarding Destroy Method
How can I redirect from sessionDestroyed() of Session Listener