chauzer has asked for the wisdom of the Perl Monks concerning the following question:
what it actually prints out is this:$cookie_id = &random_id; $cookie = "Set-Cookie: cid=$cookie_id; expires=01-Jan-2020 01:01:01 GM +T;\n"; print "Content-type: text/html\n"; print $cookie; print "\n";
but there's no cookie set, any ideas why? thanksContent-type: text/html Set-Cookie: cid=MbGFp1L0uIGT50BAlb5wovvwT86thIm5; expires=01-Jan-2020 +01:01:01 GMT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to set a cookie without using CGI.pm?
by talexb (Chancellor) on Feb 04, 2005 at 15:20 UTC | |
|
Re: how to set a cookie without using CGI.pm?
by davis (Vicar) on Feb 04, 2005 at 15:22 UTC | |
|
Re: how to set a cookie without using CGI.pm?
by FitTrend (Pilgrim) on Feb 04, 2005 at 18:05 UTC | |
|
Re: how to set a cookie without using CGI.pm?
by dragonchild (Archbishop) on Feb 04, 2005 at 16:44 UTC | |
|
Re: how to set a cookie without using CGI.pm?
by sh1tn (Priest) on Feb 04, 2005 at 15:32 UTC | |
by merlyn (Sage) on Feb 04, 2005 at 15:34 UTC | |
by Anonymous Monk on Feb 04, 2005 at 17:47 UTC |