I want to have a method which gets executed when session expires or user logs out or user closes the web application. How can i catch these events in asp.net and execute a method ? I'm building a web app in vs 2008/asp.net/c#.
Please help me.
Thanks in anticipation
Right click on The solution and the Add new item the Add Global.asax in the solution Then after which have the following Event
The Event Session_start(),Session_End() and Application_End() you will able to track the Event.