in reply to Re^7: Cookie->fetch problem
in thread Cookie->fetch problem
Hi: Changed path to / and cookie now shows everywhere
Still is not detected in sub Problem has got to be isolated to this block of code.
sub GetUserSessionCookie { warn("Entered GetUserSessionCookie Sessionname: '$sessionname'"); + my $sid = 0; my %cookies; my $id=0; if ($cookies{'CGISESSID'}) { $id = $cookies{'CGISESSID'}->value; $sid = $id; } warn($sid); # $sid = 0; #for testing the rest of program. If I put in valid S +ID from #cookie recognizes user as logged on. return $sid; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Cookie->fetch problem
by huck (Prior) on Mar 12, 2017 at 05:12 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 12:57 UTC | |
|
Re^9: Cookie->fetch problem
by Anonymous Monk on Mar 12, 2017 at 05:49 UTC | |
by tultalk (Monk) on Mar 12, 2017 at 12:49 UTC |