Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to update my database for logout of user once user close the browser. How can I do that?
Posted
Comments
Mandy Nagra 9-Mar-13 1:31am    
Please Help Me out
Nandakishore G N 9-Mar-13 1:50am    
see here..
http://forums.asp.net/post/1362515.aspx

1 solution

It's simple!
Quote:
You can handle the Session_OnEnd event by adding a subroutine named Session_OnEnd to the Global.asax file.

More about: Session-State Events[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900