Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Answer: How can I delete a cookie?

by Ovid (Cardinal)
on Jun 18, 2000 at 22:28 UTC ( #18721=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > How can I delete a cookie? - Answer contributed by Ovid

See How can I maintain a session cookie for more information.

If you don't set an expiration date on a cookie that you've created, it will be deleted when the browser is closed.

If the user wants to delete a cookie created in a previous session, you can set the expiration date of the cookie in the past (or possibly set it to "", I haven't tried this).

If you'd like to learn more, you can read Netscape's Preliminary Specification for cookies.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-09-27 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?