The redirect() function redirects the browser to a different URL. If you use redirection like this, you should not print out a header as well. As of version 2.0, we produce both the unofficial Location: header and the official URI: header. This should satisfy most servers and browsers - from CGI documentation
Update 2: Depending on what you want to do - I most likely misunderstood. If you want to completely redirect the user - then these nodes will help. CGI and redirect and Trying to redirect ... - I apologize for not pointing to this earlier.. my brain isn't/wasn't working. You want to use Location - to redirect the user to a new site. But, if you just want to inform the user of the new location - then use URI: header - I believe you used that correctly:
print URI: http://www.storm.prohosting.com/cgi-bin/warropr.pl;
In reply to Re: Re: Re: redirect and cookie problems
by LD2
in thread redirect and cookie problems
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |