Re: Apache::Cookie->new/bake broken - mod_perl 2

[prev] [thread] [next] [Date index for 2004/11/21]

From: Jozef Kosoru
Subject: Re: Apache::Cookie->new/bake broken - mod_perl 2
Date: 07:30 on 21 Nov 2004
Hi,

On Wed, Nov 10, 2004 at 13:05:43 -0800, Dan Sully wrote:
> I'm running into an interesting problem, using Apache::SessionManager.
> 
> My first request to the webpage successfully generates a cookie, and I
> see it in my browser's jar. The next response though, the
> Apache::Cookie->fetch() gets a truncated cookie (md5 sum), and can't
> tie to the previous session and creates a new one. Now, you may think
> this is a problem with fetching, and not baking.
> 
> But if I make Apache::SessionManager use CGI::Cookie for the baking, and
> continue to use Apache::Cookie for the fetch, everything works fine. A
> debug print ->as_string() of the Apache::Cookie->new/bake shows valid data.
> 
> I'm going to debug this further - but if anyone has ideas, it'd be
> most appreciated.
> 
> This is Apache 2.0.52, mod_perl 1.99_17, libapreq2-2.04-dev (latest).

I would like to point out, that I have observed the same problem with
apreq2 Apache::Cookie. Sometimes browser gets a truncated cookie and
sometimes even a garbage cookie data.

My configuration: Apache 2.0.51, mod_perl 1.99_1, libapreq2-2.04-dev.

Combination Apache::SessionManager + CGI::Cookie works fine.

Regards,
	Jozef

        -- 
        jozef kosoru
http://zyzstar.kosoru.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Apache::Cookie->new/bake broken - mod_perl 2
Dan Sully 21:05 on 10 Nov 2004

Re: Apache::Cookie->new/bake broken - mod_perl 2
Arshavir Grigorian 21:10 on 10 Nov 2004

Re: Apache::Cookie->new/bake broken - mod_perl 2
Joe Schaefer 16:06 on 11 Nov 2004

Re: Apache::Cookie->new/bake broken - mod_perl 2
Jozef Kosoru 07:30 on 21 Nov 2004

Re: Apache::Cookie->new/bake broken - mod_perl 2
Joe Schaefer 16:38 on 21 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52