<div dir="ltr"><div><div><div><div><div><div>Hi All,<br><br></div>Time for another stupid question (I'm up far too late....):<br><br></div>Can anyone tell me why this code doesn't work:<br><br> my $cgi = new CGI;<br>
my $cookie = $cgi->cookie(-name => $cookieName,<br> -value => '',<br> -path => '/',<br> -expires => '-1d', );<br>
print "Set-Cookie: $cookie\n";<br><br></div>All I'm trying to do is delete a cookie.<br>I swear this code used to work fine.<br>But clearly I must have changed something because now it is no longer working.<br>
<br></div>Thoughts? Advice? Better ways of doing this? Help?<br><br></div>Many Thanks as usual,<br><br></div>Alex<br></div>