Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Removing cookies

by cbro (Pilgrim)
on Jun 30, 2003 at 20:34 UTC ( #270310=note: print w/replies, xml ) Need Help??


in reply to Removing cookies

If you know the names of the cookies, you can set the expire time to a negative value. I am not familiar with deleting cookies by domain name though.
$cookie = $co->cookie ( -name=>'sessID', -value=>\%v, -expires=>'-1h', ); print $co->header(-cookie->$cookie);

HTH,
Chris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270310]
help
Chatterbox?
[erix]: oh, I see... it's pretty obvious really
[choroba]: What do you mean by "anchors"?
[erix]: anchors
[erix]: I have figured it out. I actually constructed them correctly but used a faulty url *headdesk*
[erix]: ( you use anchors to jump to via a #-suffix to the url -- I am sure you know )

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2018-06-19 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?