perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gokul P. Nair" <>
Subject Re: Apache2::Cookie confusing path and domain
Date Thu, 30 Jun 2005 14:53:43 GMT

I read in the libapreq2 mail archives that using
APR::* is recommended over the Apache2::Cookie modules
and that there was debate over dumping the Apache2::*
modules but were left behind only for backward
compatibilities. Please check this thread:

I'm confused as to which is the best way to go about
setting and retrieving cookies.

Any advice would be greatly appreciated.


Gokul P. Nair

--- Jonathan Vanasco <>

> On Jun 29, 2005, at 2:04 PM, Chris Jacobson wrote:
> >        $cookie->path("/foo/");
> >    Changing my code to work in that fashion caused
> the 'domain' 
> > problem to go away.  I know this is not a real
> solution, but it will 
> > avoid the bug until such time that it is fixed.
> If you don't upgrade to the current fixed version
> for whatever reason, 
> and are waiting for the official dist to be patched,
> I suggest going 
> beyond  the above workaround and setting all of the
> cookie parameters 
> as above.
> On a particular build (i don't recall which machine
> it happened on), 
> that phenomena wasn't just limited to path and
> domain, but another 
> parameter as well
> setting each parameter individually solved that
> (or, just use the SVN distribution )

Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses.

View raw message