Session Data in Session_OnEnd

Discussion in 'ASP General' started by David Logan, May 21, 2004.

  1. David Logan

    David Logan Guest

    Hello,

    Can anybody explain to me why all the Session data is gone when you
    enter Session_OnEnd. From what I can see the only data left is
    SessionID. Is there anyway around that?

    I was wanting to Update records based on data in the Session. From
    what I can tell my only alternative is to create all records in the db
    using the SessionID as the lookup code.

    Anybody have any better idea's?

    Thanks

    David Logan
     
    David Logan, May 21, 2004
    #1
    1. Advertising

  2. You shouldn't be relying on session_onEnd to update data anyway...
    http://www.aspfaq.com/2078

    --
    Aaron Bertrand
    SQL Server MVP
    http://www.aspfaq.com/




    "David Logan" <> wrote in message
    news:...
    > Hello,
    >
    > Can anybody explain to me why all the Session data is gone when you
    > enter Session_OnEnd. From what I can see the only data left is
    > SessionID. Is there anyway around that?
    >
    > I was wanting to Update records based on data in the Session. From
    > what I can tell my only alternative is to create all records in the db
    > using the SessionID as the lookup code.
    >
    > Anybody have any better idea's?
    >
    > Thanks
    >
    > David Logan
     
    Aaron Bertrand - MVP, May 21, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. anand

    my session_onend is not working

    anand, Jul 9, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    1,395
  2. Hans Kesting

    Session variables and Session_OnEnd

    Hans Kesting, Aug 18, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    615
    Hans Kesting
    Aug 19, 2003
  3. =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=

    Session_OnEnd() - what session?

    =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=, Jul 16, 2006, in forum: ASP .Net
    Replies:
    11
    Views:
    651
    Steven Cheng[MSFT]
    Jul 18, 2006
  4. John H
    Replies:
    0
    Views:
    282
    John H
    Jun 24, 2009
  5. HolaGoogle
    Replies:
    4
    Views:
    117
    HolaGoogle
    Nov 20, 2003
Loading...

Share This Page