Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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


Comment on Re: Removing cookies
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-29 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls