Re: Apache::Cookie problems

2000-04-11 Thread Doug MacEachern
> > 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; ?

Re: Apache::Cookie problems

2000-04-10 Thread Alvar Freude
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

Re: Apache::Cookie problems

2000-04-09 Thread Rajesh Kumar Mallah
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

Apache::Cookie problems

2000-04-09 Thread Alvar Freude
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