I have browsed through out the internet. I can\'t find a proper solution for this. Is there a proper way to kill/end session when browser or tab is closed without logging off?
There is no working code for this. The only 100% working way, especially in case of IE – using keep-alive requests and clear session by timeout on user inactivity.