perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Natera Abreu <juanj...@lunarpages.com>
Subject Re: Apache2::Cookies - getting all names
Date Mon, 26 Dec 2005 19:35:56 GMT
Hi,

How are you creating the cookies?

Apache2::Cookie has the same interface as CGI pm (a method that takes
named parameters).

> When I do this, for the following cookies:
>    c1 => 'v1',
>    c2 => 'v2',
> 

Try this instead:

$c1 = Apache2::Cookie->new($r, -name  => 'c1', -value => 'v1');
$c2 = Apache2::Cookie->new($r, -name  => 'c2', -value => 'v2');

Regards,


-- 
Juan Jose Natera Abreu <juanjose@lunarpages.com>


Mime
View raw message