ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
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/

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:

Carl Jolley
Carl Jolley

Carl Jolley

Carl Jolley
$Bill Luebkert
$Bill Luebkert


$Bill Luebkert
$Bill Luebkert

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved