>
> But while Recovering the Cookie I got some errors:
>
> $cookie_ref = Apache::Cookie->fetch;
any difference if you change that to:
my $r = Apache->request;
my $cookies = Apache::Cookie->new($r)->parse;
?
Hi!
> get-cookie.html
> --
> <%
> use Apache::Cookie;
> my $cookie_ref = Apache::Cookie->fetch;
> my $conf_cookie = $cookie_ref->{conf};
> my %hash = $conf_cookie->value;
^^^
thats it, now I understand!
many thanks, it was too late last nig
perldoc Apache::Cookie says
value
Get or set the values of the cookie:
1.my $value = $cookie->value;
2.my @values = $cookie->value;
3.$cookie->value("string");
4.$cookie->value(\@array);
so if you set a array ref in 4 you retriev
Hi,
I have some problems in setting and getting back Cookie Values with
Apache::Cookie.
I'm setting a cookie with Apache::Cookie and it seems that the cookie is
set correct:
my $c = Apache::Cookie->new($r,
-name=> 'conf',
-value