I'm in the process of refactoring one of my CGI::Apps to separate login and permissions code so that it can be used by several apps. I'm trying to use redirect() to send a user to the login app if they try to access one of the other apps before logging in. With this code:
return $cgi_query->redirect("login.pl");
I get this error in the browser:
Status: 302 Moved location: login.pl
Apparently redirect() doesn't work quite as I expected.
Anyone see what I need to do differently?
Thanks! =)
--TWH
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.