in reply to Re^2: Cookie->fetch problem
in thread Cookie->fetch problem
Hi: Round and round. Just can't recover a $sid from a cookie.
Tried count on the cookies and it returned 0 Still struggling with this hole in my program. There are three cookies associated with my site.
Fri Mar 10 12:31:32 2017 manage_users.cgi: keycount: '0' at /home/jalamior/www/httpsdocs/cgi-bin/lib/perl/manageusers.pm line 681.
my %cookies = CGI::Cookie->fetch; my $count = keys %cookies; warn("keycount: '$count'"); while(my($key, $value) = each %cookies){ Dumper \$key; Dumper \$value; if($key eq $sessionname){ $sid = $value; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Cookie->fetch problem
by huck (Prior) on Mar 10, 2017 at 20:34 UTC | |
by tultalk (Monk) on Mar 11, 2017 at 01:35 UTC | |
by tultalk (Monk) on Mar 11, 2017 at 05:45 UTC | |
by poj (Abbot) on Mar 11, 2017 at 12:39 UTC | |
by huck (Prior) on Mar 12, 2017 at 00:42 UTC | |
| |
by huck (Prior) on Mar 11, 2017 at 06:24 UTC | |
by tultalk (Monk) on Mar 11, 2017 at 13:23 UTC | |
| |
by tultalk (Monk) on Mar 11, 2017 at 15:19 UTC | |
|
Re^4: Cookie->fetch problem
by Anonymous Monk on Mar 11, 2017 at 01:36 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 01:12 UTC | |
by huck (Prior) on Mar 12, 2017 at 01:42 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 03:35 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 03:59 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 04:58 UTC | |
|