Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: redirection without CGI.pm

by nardo (Friar)
on Sep 14, 2001 at 23:06 UTC ( #112501=note: print w/replies, xml ) Need Help??


in reply to redirection without CGI.pm

If you want to do it within an HTML document then you should use javascript and hope that your users have javascript enabled. If you want to do it within a perl CGI then you can print out a Location line in your header.
print "Location: http://www.somewhere.com/\n"
(you'll of course need another \n to terminate the header).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-05-16 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?