I am inserting user details when user login in my website.
At the time of user logout then i have to update logout status .
if user logout properly i can catch the status as logout but if user close the browser without click logout button then how can i catch the user has logout??
Please help me how to solve this problem