Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: CGI - Keep'em quiet page?by koolade (Pilgrim) |
on Jun 16, 2001 at 21:38 UTC ( [id://89071]=note: print w/replies, xml ) | Need Help?? |
Above line simply calls a Perl file that uses CGI.pm "redirect" function to redirect the browser to the desired page. That won't work because CGI.pm's redirect() prints out HTTP headers to redirect the client. But you've already printed out HTTP headers, so the redirect headers will be included in the text rendered by the browser. So the user will see: Please wait If you'll want to redirect in that manner you'll have to use JavaScript.
In Section
Seekers of Perl Wisdom
|
|