Posted on 2014-03-14
I am facing interesting phenomena when I have login page [.net aspx] and user logs into system.
Then user closes the whole browser window [not just one or two tabs]
Then user opens browser again and you can see you page again as you are logged in and never left it.
I am not using caching although I do use authenticated cookie.
My question is how to avoid if window been closed and opened to treat user as logged in ?
I have some code on unload and before unload as well clearing all cookies ans session data.
How its possible ?