Session_end does not always fire?

Discussion in 'ASP.NET 2.0' started by vvsharma, Jul 11, 2007.

  1. Remember the Session_End is not fired when the client closes the browser.You can either have it fired by calling 'Session.Abandon()' from your web page ,when the user leaves your site or when the session timeouts.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. I think that if the site's worker process gets recycled, the Session_End event does not get triggered. This is probably what is happening.


    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I have a little counter on my site that counts the concurrent users of the site. The counter is atored in an SQL Table. The counter continues to grow with time. It seems that the session_start (which increases the counter) fires correctly, but the session_end does not always fire. (over short periods the counter may decrease by 1 or 2 but in the long run it grows).


    the web.config includes:

     

Share This Page