Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Checking for cookies

by bloonix (Monk)
on Jul 12, 2007 at 17:50 UTC ( #626292=note: print w/replies, xml ) Need Help??


in reply to Checking for cookies

use CGI; my $cgi = CGI->new(); my @cookies = $cgi->cookie(); print "cookie is set" if @cookies;
In list context cookie() returns all cookies. This is one way to test if a cookie is set.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-01-28 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?