i want to fire an event in asp.net when my user session has been expired or i close browser. actually i want to update some thing in database according to login user when he/she
See the session state events documentation here: http://msdn.microsoft.com/en-us/library/ms178583.aspx