As of now I'm terminating the session using session time out.But I want to terminate session when the user closes the browser window using X button.
How to implemen this using Javascript/J2EE?
When the browser in closed using X button the session still exists in the server till the timeout period.
Could anyone please give a Javascript/J2ee implementation of achieving this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.