Re: Quick Cookie Question, with CGI.pm.
by $Bill Luebkert other posts by this author
May 15 2002 10:09PM messages near this date
view in the new Beta List Site
Re: Quick Cookie Question, with CGI.pm.
|
Re: Quick Cookie Question, with CGI.pm.
barons@[...].net wrote:
> I know that the cookie has to be sent with the header. But
> i'm having a problem sending a cookie and then
> redirecting.
>
> print $query->header(-cookie => $sendcookie);
> print $query->redirect(-uri=>'http://www.yahoo.com/');
>
> This will send the cookie but prints the 303 error message
> from CGI.pm. How can I send the cookie and redirect at the
> same time.
print redirect (-uri => '/cgi-bin/fubar.pl', -cookie => [$cookie]);
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles Mailto:dbe@[...].com
/ ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/
Thread:
Carl Jolley
Carl Jolley
Carl Jolley
Carl Jolley
$Bill Luebkert
$Bill Luebkert
$Bill Luebkert
$Bill Luebkert
|