Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(Kozz): Re: deleting cookies

by Kozz (Friar)
on Apr 29, 2002 at 20:25 UTC ( #162918=note: print w/replies, xml ) Need Help??


in reply to Re: cookie problem
in thread cookie problem

To delete a cookie, set the cookie again with ALL the same parameters used to set it initially, including the same cookie name, path, domain, "secure" flag (if any of these were used), and an expiration date in the past. That should do the trick.

But again, as someone else pointed out, this is also well-documented in the RFC. Or you can use the CGI.pm implementation to witness yourself what the cookie looks like when being deleted (i.e. re-set with exp. date in the past).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://162918]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2022-01-25 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?