Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2012, 12:49 PM   PM User | #1
keithboesker
New Coder

 
Join Date: Dec 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
keithboesker is an unknown quantity at this point
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 01: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
keithboesker is offline   Reply With Quote
Old 10-05-2012, 07:15 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,556
Thanks: 62
Thanked 4,055 Times in 4,024 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:05 AM.


Advertisement
Log in to turn off these ads.