Re: problems with redirect page

2002-12-04 Thread Michael Kelly
On Wed, Dec 04, 2002 at 09:04:50PM -0600, perl wrote: Hi Josh, > 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 messa

Re: problems with redirect page

2002-12-04 Thread simran
Sounds to me like you are doing a redirect *after* you have sent your normal headers... aka, you have already sent a Content-Type header earlier in your script... take that out and it should work. On Thu, 2002-12-05 at 14:04, perl wrote: > I'm trying to make a page redirect to a homepage if a us

problems with redirect page

2002-12-04 Thread perl
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 d