Hi folks,
When browser is closed then automatically user will be logout and redirect to the login page.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prasham SabadraPosted Feb 20, 2015, 3:42 AM
Following are few links, please have a look once.
http://vaibhav-salwe.blogspot.fi/2012/05/log-out-user-on-browser-close.html
http://stackoverflow.com/questions/1366820/logoff-user-when-browser-tab-page-is-closed-asp-net-mvc
http://stackoverflow.com/questions/23632725/how-do-i-log-a-user-out-when-they-close-their-browser-or-tab-in-asp-net-mvc
http://www.codeproject.com/Tips/566217/Session-killing-logout-in-server-when-browser-is-c