Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Destroy session when browser is closed

843840Jan 1 2010 — edited Jan 2 2010
Hi Friends,
I am doing project in java.and i need to destroy the session values when user forgotten to logout and closes the browser.
How can i detect whether browser is closed using either javascript or using java.
Is Any other way to destroy session values.

Thanks .
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2010
Added on Jan 1 2010
2 comments
586 views