Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect to another page

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
0
0
MY
hi list..

we use 'Response.redirect' method in asp to go to another page without summit any form/button..

but how to do this in perl.. what i want to do is, after process everything (in page.pl) i want to go back to my asp page without using any buttons. How to do this..

Please help..

Thanks a lot,
parames.s
 
If the page is created via a piece of CGI, then simply reproduce the page. If not, you could use something like this,.....


#!/usr/local/bin/perl
use CGI;
my $query = new CGI;
print $query->redirect(-uri=>'# do what ever work you need with the info submitted.



Depending on your Web server, you may need to set -nph to 1. Also, the CGI.pm documentation says that some web servers make fully qualified URIs necessary... No relative paths to local pages.


keep the rudder amid ship and beware the odd typo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top