Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: cookie problem

by poj (Abbot)
on Nov 11, 2014 at 18:35 UTC ( [id://1106868]=note: print w/replies, xml ) Need Help??


in reply to cookie problem

my $cookie = $cg->cookie('id'); if ( ! $cookie ) { print $cgi->redirect("home.pl"); }

Which is correct $cg or $cgi ?

poj

Replies are listed 'Best First'.
Re^2: cookie problem
by bigup401 (Pilgrim) on Nov 11, 2014 at 19:50 UTC

    its

    $cg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-26 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found