Hi all,
I'm trying to clear a cookie using CGI::Cookies, and
can't seem to do it :(
if ($clear_cookie eq 'yes') {
my %cookies = fetch CGI::Cookie;
print "getting cookie<br>";
if ($cookies{'id'}) {
print "clearing cookie<br>";
$cookies{'id'}->expires('-1s');
print "cleared cookie<br>";
}
}
I'm getting the "cleard cookie" message, but it is
still there.
Denzil
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>