balaji_red83 has asked for the wisdom of the Perl Monks concerning the following question:
And I am trying to retrieve the value of the above cookie in a new page using the below code.my $c = new CGI::Cookie( -name => 'USER', -path => '/', -value => $userid, -domain => getdomain(), ); print "Set-Cookie: $c\n";
But for some reason I could not able to get the cookie value. Can anyone please throw light on this? Thanks in advance.%cookies = fetch CGI::Cookie; $user = $cookies{'USER'}; print "$user";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need Help on CGI::Cookie
by moritz (Cardinal) on Sep 07, 2007 at 14:38 UTC | |
by Anonymous Monk on Sep 07, 2007 at 14:58 UTC | |
by moritz (Cardinal) on Sep 07, 2007 at 16:21 UTC |