in reply to Trying to redirect...

I just had this same problem working on an NT box, I was using the

print "Location: http://blah.com\n\n";

and getting a '302' error. I then switch to using the CGI.pm method, redirect:

use CGI qw(:standard); my $query = CGI -> new(); $query -> redirect(-uri => 'http://blah.com');

But got the same error, I then added the 'nph' (no parse header) to the rediect() call:

use CGI qw(:standard); my $query = CGI -> new(); $query -> redirect(-u +ri => 'http://blah.com', nph => 1);

and everything worked dandy. I was also passing a cookie in the redirect, so that may have had something to do with it. Like I said, this was on an NT IIS server.

 

-justin simoni
!skazat!