Close/kill the session when the browser or tab is closed

Posted by Punit on Stack Overflow See other posts from Stack Overflow or by Punit
Published on 2009-12-17T13:54:16Z Indexed on 2010/06/01 11:13 UTC
Read the original article Hit count: 318

Filed under:
|

Can somebody tell me how can I close/kill the session when the user closes the browser? I am using stateserver mode for my asp.net web app. The onbeforeunload method is not proper as it fires when user refreshes the page.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about session