Session_OnEnd doesnt get called

Results 1 to 2 of 2

Thread: Session_OnEnd doesnt get called

  1. #1
    Arjun Guest

    Default Session_OnEnd doesnt get called

    Hi,<BR> I have a asp application using sesiions. However when I quit the browser the session_OnEnd is not called immediately. It is called only after the session.timeout time elapses( remmember I have closed the browser). Does any one find this behaviour strange?<BR>-Arjun<BR><BR>

  2. #2

    Default RE: Session_OnEnd doesnt get called

    When you close a browser, the server has no clue if your still connnected or not. All the server knows is that you have not requested a page for a while (hence, timeout followed by onend event). The server would have to keep checking to see if you were there (waste of resources). The browser sends no signal to let the server know you are disconnecting.....even though that would be cool :). <BR><BR>Just my thoughts on this..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts