in reply to how to move to new page on successful login

I don't mess with cgi much, but here is something to try, a WAG :-)
#notice single quotes print $q->redirect(-uri => 'http://localhost/cgi-bin/librarian.cgi');

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: how to move to new page on successful login
by arnieboy (Initiate) on Feb 25, 2008 at 21:00 UTC
    Thanks zentara but that suggestion did not make a difference. Regards, Ken
      Have you tried the print Location trick? Although I think it falls into the same boat as the header discussion by others.
      #!/usr/bin/perl $url1 = 'http://zentara.zentara.net'; $url2 = 'http://zentara.zentara.net/~zentara'; if ($ENV{'HTTP_USER_AGENT'} =~ /Mozilla/ and not $ENV{'HTTP_USER_AGENT'} =~ /compatible/i ) { print "Location: $url1\n\n"; } else { print "Location: $url2\n\n"; }

      I'm not really a human, but I play one on earth. Cogito ergo sum a bum