Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^7: Cookie->fetch problem

by kennethk (Abbot)
on Mar 09, 2017 at 19:00 UTC ( [id://1184079]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Cookie->fetch problem
in thread Cookie->fetch problem

That is the output from Data::Dumper. You can see the cookies hash (aliased here to $VAR1) is empty. Otherwise, it might output something like:
[Thu Mar 9 12:33:53 2017] manage_users.cgi: $VAR1 = {'CGISESSID' => '1 +234deadbeef'};

For a quasi-independent test, what happens when you add the following to your code:

use CGI; my $cgi = CGI->new; warn $_ for $q->cookie();
and see if the CGI object has any cookies in it.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-19 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found