title: Close/kill the session when the browser or tab is closed
body: <p>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 <code>onbeforeunload</code> method is not proper as it fires when user refreshes the page.</p>