|
|
| Just another Perl shrine | |
| PerlMonks |
Re: CGI and Redirect/URI/Locationby btrott (Parson) |
| on Jun 18, 2001 at 07:17 UTC ( #89223=note: print w/ replies, xml ) | Need Help?? |
|
The redirect has to go in the header, and after you've called 'header', you've already sent the header entirely. So you need to send the cookie as part of the redirect. And you can do that using the 'redirect' function/method: If you have a CGI object, use
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||