VB.NET - How to end user session when browser closed or web page is logout ?

Asked By Aravind Aravind on 01-Nov-12 12:15 AM
hi 
   

How to end user session when browser closed or web page is logout ?
   In my website i use session form login to logout(i am using username and password) ,if i click logout it redirect to login page,if i click back button in the browser it go previous page,here i want to abandon session and if click the back button it dont go to previous page it stay in login page pls reply asap thanx in advance

Danasegarane Arunachalam replied to Aravind Aravind on 01-Nov-12 04:29 AM
Try this one

http://stackoverflow.com/questions/2839988/destroy-or-unset-session-when-user-close-the-browser-without-clicking-on-logout