I have another question about the CGI.pm methods.
Here is a bit of code that is giving me fits.
unless($po_id = cookie("po_id"))
$nextstep = "http://$base/cgi-bin/orderUpdate.cgi\n\n";
print redirect(-url => $nextstep);
Just FYI $base is set to server_name. Everything works fine (I've used a
breakpoint code to check) until I try to print the redirect. I then get a
403 error. What gives?
Thanks for your time and help,
This is most probably because you are not authorized to run the
orderUpdate.cgi Check the permissions of that file. I think that the
redirect works fine and you get the 403 (Not authorized) error from the
page where you were redirected to.
Test it printing a page that does not redirect but displays a link and
requires you to click on that.
[ back to toc ]