Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: I'm sure I'm missing some little thing...

by eg (Friar)
on Feb 03, 2001 at 00:51 UTC ( [id://56098]=note: print w/replies, xml ) Need Help??


in reply to I'm sure I'm missing some little thing...

If you're not doing it already, you should definately use strict. A 404 error (file not found) means that your redirect is wrong. Throw either

print "Content-type: text/html\n\n"; # or print $cgi->header();

in front of

print "Location: $url/poll.cgi?action=login\n\n";

and see what's wrong with it (probably $url is somehow off.)

Since you're already using CGI, why not let it make the the redirect?

print $cgi->redirect( -uri => 'whatever' );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://56098]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found