Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,456
    Thanks
    15
    Thanked 0 Times in 0 Posts

    sign out session variable

    i'm using to retrieve my session variable -- Session.SessionID

    how can i just erase this session and not all sessions? (is that possible?)

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    Is Session.Abandon what you are looking for? Or am i thinking too simple?
    I am the luckiest man in the world

  • #3
    Senior Coder
    Join Date
    May 2004
    Posts
    1,456
    Thanks
    15
    Thanked 0 Times in 0 Posts
    no because session.abandon signs out all -- i'm looking only to sign out the session variable Session.SessionID if that is possible

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    i would guess that is not possible, how would the server identify this session after deleting the ID? Maybe you could try: Session.Contents.Remove(key)
    I am the luckiest man in the world

  • #5
    SSJ
    SSJ is offline
    Regular Coder
    Join Date
    Mar 2007
    Posts
    230
    Thanks
    0
    Thanked 4 Times in 4 Posts
    This is not possible at all.
    You have to use session.abandon


  •  

    Posting Permissions

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