Session End Fired On Global.asax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • navaneethkn
    New Member
    • May 2007
    • 5

    Session End Fired On Global.asax

    When user is closing the browser window, which is the event fired in global.asax ? Will it fire session_end event ? My requirement is I need to update one value in my DB when user closes browser.
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Originally posted by navaneethkn
    When user is closing the browser window, which is the event fired in global.asax ? Will it fire session_end event ? My requirement is I need to update one value in my DB when user closes browser.
    Nothing is fired. your global.asax file is on your server and the browser is on the client's computer. They do not communicate when the browser closes. Some people like to open a pop-up window briefly when the browser closes, but this is blocked by any pop-up blocker.

    A better method is to store the info you need to use in session-level variables.

    Jared

    Comment

    Working...