in reply to How do I redirect to another URL after I already specified an html header?

_Instead_ of printing your headers out, do all at once. Since I do not use the CGI module, it may work a little different, but this is the way to go.
print $cgimain->redirect( -Location => 'http://nameofurl' -nph => 1, -status => 302, -cookies => $cookie );
Boris
  • Comment on Re: How do I redirect to another URL after I already specified an html header?
  • Download Code