http://www.perlmonks.org?node_id=785549


in reply to Can't Get CGI Results Page to Redirect

socrtwo, it's difficult to follow your node because you have included too many extraneous details. I think you'll have much more specific success if you reduce the sheer amount detail in your node.

With that said, I'll offer up a couple of general comments which may or may not be of help, pending further explanations on your part:
  1. You only get one shot at printing a CGI header. Thus, if you've already printed out one header, it is impossible to get a redirect to work.
  2. Have you tried hardcoding a URL to see if that will redirect?

What can be asserted without proof can be dismissed without proof. - Christopher Hitchens