proceng has asked for the wisdom of the Perl Monks concerning the following question:
While looking at the headers in FF, the "Set-Cookie" never seems to be sent, while in Opera it works correctly. Warnings and strict are set, with no errors or warnings being reported. CGI.pm is 3.29, Perl is 5.8.8. Thanks in advance$main::session = new CGI; $main::cookies = $main::session->cookie(-name => 'NCWiFiTest', -domain => 'localhost', -path => '/', #-expires => '+1d', -value => `date` ); print $main::session->header(-cookie=>$main::cookies); #%main::test = fetch CGI::Cookie; $main::test = ""; print "<hr>\n"; $main::query = new CGI; $main::test = $main::query->cookie(-name => 'NCWiFiTest'); #$main::cookies->bake; #print "Content-type: text/html\n\n"; #print "<br>\n"; print "NCWiFiTest --> $main::test\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Cookie problem in FF and IE
by proceng (Scribe) on Aug 07, 2007 at 02:53 UTC | |
by Errto (Vicar) on Aug 07, 2007 at 03:16 UTC | |
by proceng (Scribe) on Aug 07, 2007 at 14:10 UTC | |
by Anonymous Monk on Aug 07, 2007 at 10:28 UTC |