wolverina has asked for the wisdom of the Perl Monks concerning the following question:
The problem is, the code comes after the standard line:$cookie_out = $q->cookie(-name=>"chek_mail", -value=>$random,-expires=>'+24h'); print $q->header(-cookie=>$cookie_out);
So instead of writing a cookie to the hard drive, it prints cookie code in the browser window. Is there a way to shield this cookie code from the print "Content-type: text/html\n\n"; line so as to have the same effect as putting it before the content line. -Lisa.print "Content-type: text/html\n\n";
update (broquaint): title change (was shield from content statement)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: shield from content statement
by fruiture (Curate) on Nov 17, 2002 at 11:31 UTC | |
by wolverina (Beadle) on Nov 17, 2002 at 11:52 UTC | |
by fruiture (Curate) on Nov 17, 2002 at 11:56 UTC | |
by wolverina (Beadle) on Nov 18, 2002 at 00:27 UTC |