Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: CGI redirect to new window/frame

by ruzam (Curate)
on Nov 05, 2009 at 13:56 UTC ( [id://805271]=note: print w/replies, xml ) Need Help??


in reply to CGI redirect to new window/frame

A simple redirect can be handled from perl with CGI->redirect:

print $CGI->redirect(-uri => 'http://YourNewUrlHere');

But what you describe sounds like you probably need to use some javascript in your web page and Perl won't help you. Try googling 'javascript location'.

Replies are listed 'Best First'.
Re^2: CGI redirect to new window/frame
by jithint (Novice) on Nov 10, 2009 at 13:42 UTC
    does redirect take arguments like -target or -uri??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-16 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found