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 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delete all encrypted session cookies help?

    I need so help delete all the encrypted session cookies on logout. Here's where I'd like to put the script. If anyone can help that would be awesome. Thanks in advance.

    Code:
    Session.Contents.RemoveAll()
    Session.Abandon()
    (cookie script here?)    
     
    Response.Redirect "page.asp"

    Ok after more research I found out my problem. FireFox and IE or not deleting my aspsessionid from saved cookies. Is there away to force FF and IE to remove all cookies attached to my site?
    Last edited by keithboesker; 10-06-2012 at 02:47 AM. Reason: Ok after more research I found out my problem. FireFox and IE or not deleting my aspsessionid from saved cookies. Is there aw

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,635 Times in 4,597 Posts
    So long as you redirect to another ASP page, it won't happen. Oh, abandoning the session means that the CURRENT encrypted sessionid will be removed, but as soon as you go to another ASP page, that page will generate a new encrypted sessionid.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

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