Far Cry Posted September 15, 2010 Share Posted September 15, 2010 Hi there, I was wondering if it is possible to (on the closing of a browser to a logged in user) to automatically destroy that session. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
micah1701 Posted September 15, 2010 Share Posted September 15, 2010 closing the browser kills the session anyway. unless you're talking about cookies? Quote Link to comment Share on other sites More sharing options...
Far Cry Posted September 15, 2010 Author Share Posted September 15, 2010 I should have worded that better, I want to capture the window close event somehow, and run a query upon that. Quote Link to comment Share on other sites More sharing options...
litebearer Posted September 15, 2010 Share Posted September 15, 2010 the act of closing browser occurs on clientside - it may entail the inclusion of a javascript - "Are you sure you want to exit" sort of thing - so that something can be sent back to server indicating they exited. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.