Hammy has asked for the wisdom of the Perl Monks concerning the following question:
I don't know how to re-request the cookie. Just redoingsub cookietest{ my $cookname = "newcookie"; my $cookietest = CGI->cookie($cookname); unless (defined $cookietest) { my $cookie1 = CGI->cookie(-NAME=>$cookname, -VALUE=>"abc", -EXPIRES=>"+2y", -PATH=>"/"); print CGI->header(-COOKIE => $cookie1); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: rechecking the cookie
by darobin (Monk) on Mar 28, 2001 at 00:42 UTC | |
|
Re: rechecking the cookie
by stephen (Priest) on Mar 28, 2001 at 00:46 UTC | |
by sutch (Curate) on Mar 28, 2001 at 00:58 UTC | |
|
Re: rechecking the cookie
by Masem (Monsignor) on Mar 28, 2001 at 00:44 UTC | |
|
Re: rechecking the cookie
by sutch (Curate) on Mar 28, 2001 at 00:43 UTC | |
by sutch (Curate) on Mar 28, 2001 at 00:52 UTC | |
by Hammy (Scribe) on Mar 28, 2001 at 02:35 UTC |