Session end event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Varchas
    New Member
    • Nov 2007
    • 1

    #1

    Session end event

    How does one try to catch the session end event? Do I have to make any web configuration settings in order to do so?
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Check the Global.asax file
    Code:
    void Session_End(object sender, EventArgs e) 
    {
    // Code that runs when a session ends. 
    // Note: The Session_End event is raised only when the sessionstate mode
    // is set to InProc in the Web.config file. If session mode is set to StateServer 
    // or SQLServer, the event is not raised.
    }

    Comment

    Working...