develooper Front page | perl.beginners | Postings from December 2002

problems with redirect page

Thread Next
From:
perl
Date:
December 4, 2002 20:02
Subject:
problems with redirect page
Message ID:
20021205030450.25037.qmail@mail.mailsystem.us
I'm trying to make a page redirect to a homepage if a user has logged in 
before.  I have everything running except the redirect command.  Here's what 
I have: 

print redirect ( "homepage.pl" ); 


It gives me a message on the page that says: 

Status: 302 Moved location: homepage.pl 

What am I doing wrong?  The file homepage.pl is in the same directory as the 
file that the above code is on.  Any ideas? 

Thanks! 

Josh 


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About