please solve my problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phanimadhav
    New Member
    • Jun 2007
    • 78

    please solve my problem

    Actually i am new one of this ASP.NET.i have have one problem with session_end() in Global.aspx.whe n this session_end() is faired. I call the session.abandon () method.but my requirement is whenever i call the signout() method that time this session_end() is faired.please send ur replay as early as possible.if any mistakes in my query sorry don't mind.
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    Here is the complete solution for ur problem

    http://geekswithblogs. net/azamsharp/archive/2005/09/05/52741.aspx

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      That is a rather confusing article.

      Session_End() is called whenever the session data is removed from memory.
      That happens when you abandon() it in code, or the session_timeout occurs.

      I don't think that it applies unles you use InProc as your SessionState, so using SQL to manage your sessions will change that.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by Plater
        That is a rather confusing article.

        Session_End() is called whenever the session data is removed from memory.
        That happens when you abandon() it in code, or the session_timeout occurs.

        I don't think that it applies unles you use InProc as your SessionState, so using SQL to manage your sessions will change that.
        Plater is correct,

        You will not get a Session_End event unless your SessionID is recycled. This only happens when a new SessionID is generated. This only takes place if you are using an InProc Sessan. Also, there is no telling when the Session_End event is going to happen although the Session.Abandon will release the SessionID.

        -Frinny

        Comment

        Working...