[thelist] Expiring a cookie
Roee Rubin
webdesign1 at irubin.com
Fri Oct 26 19:55:56 CDT 2001
Hello,
A perl question.
I have a cookie that I have set and am attempting to expire.
The code below does not seem to work. Any help will be appreciated.
$the_cookie = $co->cookie(-name => 'UserID', -value => "whatever", -expires
=> '-1d');
print $co->header(-type => "text/html", -expires => "-1d", -location =>
$redi_logout, -cookie => $the_cookie);
Any help will be appreciated.
Roy
More information about the thelist
mailing list