473,326 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Delete all Cookies?

Is there any code out there for deleting all of the cookies for the
current domain? I want to set up a kind of "logout" button that will
remove/erase anything the user has done with cookies for the current
site.

Thanks.

Aug 7 '06 #1
1 7452

<br************@hotmail.comwrote in message
news:11*********************@m79g2000cwm.googlegro ups.com...
Is there any code out there for deleting all of the cookies for the
current domain? I want to set up a kind of "logout" button that will
remove/erase anything the user has done with cookies for the current
site.
My cookies component has an "eraseAll()" method which should suit:

http://www.depressedpress.com/Conten...kies/Index.cfm

I'm sure there are dozens of others that would do the same thing as well...
but I like mine. ;^)

Jim Davis
Aug 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Phil Powell | last post by:
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes, the PHP script I run behaves according to this...
2
by: Dan | last post by:
I persist the login info using cookies so that a user doesn't have to login every time they come to our website, unless they previously logged out. Everything works OK on W98 SE, and Windows XP Pro...
3
by: Warp | last post by:
If I have a cookie with 'key/value' pairs, how would I delete a specific 'key/value' pair while preserving the remaining pairs? I tried to do something like: cookie(key)="" but it didn't seem to...
2
by: phoenix | last post by:
Hello, I tried the following to delete the cookies Directory.Delete(Environment.GetFolderPath(Environment.SpecialFolder.Cookies ), true); but always get the message that "index.dat" is...
3
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code...
0
by: Bill Borg | last post by:
Hello all, Not sure I can describe this adequately, but I am creating an endless loop when an authenticated user signs out. When the user signs out, I want to remove authentication, abandon...
5
by: ad | last post by:
Hi, How can I delete the cookie in client?
3
by: kendera | last post by:
Is it possible to programmatically delete cookies? Can anyone help me with this...
4
by: itrahulsoni | last post by:
hi all, I want to delete the cookies that are set by the google personalize home page or when once i view the you tube video cookie is set I want it to delete programmatically so I am able to see...
2
Inbaraj
by: Inbaraj | last post by:
Hi I have create a cookie as document.cookie=text1.value+" "+text2.value; I am able to retrive the cookies... But i am not able to delete the cookies... Plz help me in deleting the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.