Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Re: CGI - Keep'em quiet page?

by koolade (Pilgrim)
on Jun 16, 2001 at 21:38 UTC ( #89071=note: print w/replies, xml ) Need Help??

in reply to Re: CGI - Keep'em quiet page?
in thread CGI - Keep'em quiet page?

Above line simply calls a Perl file that uses "redirect" function to redirect the browser to the desired page.

That won't work because'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
Status: 302 Moved
location: http://path/to/redirect

If you'll want to redirect in that manner you'll have to use JavaScript.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://89071]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-08-16 13:01 GMT
Find Nodes?
    Voting Booth?

    No recent polls found