Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^7: Cookie->fetch problem

by kennethk (Abbot)
on Mar 09, 2017 at 19:00 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-10-21 01:26 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (212 votes). Check out past polls.