*alexandre* has asked for the wisdom of the Perl Monks concerning the following question:
then after I attempt to read the value back in my code$cookie = CGI::Cookie->new(-name => 'USERNAME', -value => $encrypted, -expires => '+3M', -path => '/cgi-bin/recordz', -secure => 1); print $query->header(-cookie=>$cookie);
$cookie_in is always empty but in the cookie manager the cookie exist and got the correct values any idea welcome thankslocal our $cookie_in = $query->cookie('USERNAME'); print "Content-Type: text/html\n\n"; print $cookie_in;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cookie created but impossible to read it
by moritz (Cardinal) on Apr 05, 2014 at 10:18 UTC | |
by *alexandre* (Scribe) on Apr 05, 2014 at 10:51 UTC | |
|
Re: cookie created but impossible to read it
by Anonymous Monk on Apr 05, 2014 at 09:48 UTC |