in reply to Re: Concern with CGI::Session
in thread Concern with CGI::Session
i have some queries
i have set session id and domain name in the cookies which are sent to the user browser
is there some problem in the line of my thinking
or is there something more i have to take care of
please advice
i have set session id and domain name in the cookies which are sent to the user browser
now when the user clicks a tab and goes to another page i want to fetch the cookie from the usersession and then intially trying to print all the values got from the cookie$cookie =$cgi->cookie( -CGISESSID => $session->id, -expires => '+1h', -domain => 'B2R6A056a' }; print $cgi->header(-cookie=>$cookie);
but i am not able to fetch the cookiemy %cookie = fetch CGI::Cookie; foreach $keys ( sort keys %cookie) { print "$keys : $cookies{$_}"; }
is there some problem in the line of my thinking
or is there something more i have to take care of
please advice
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Concern with CGI::Session
by cees (Curate) on Jun 14, 2005 at 14:10 UTC |
In Section
Seekers of Perl Wisdom