Re: Apache::Cookie->new/bake broken - mod_perl 2
[prev]
[thread]
[next]
[Date index for 2004/11/11]
Dan Sully <daniel@xxxxxxxxxxxx.xxx> writes:
> 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.
What is the length of the session cookie you're baking? Set-Cookie
headers aren't supposed to exceed 4KB.
If that's not the problem, do you notice any difference in the
->as_string() outputs for Apache::Cookie versus CGI::Cookie?
--
Joe Schaefer
--
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
 |
 |
Re: Apache::Cookie->new/bake broken - mod_perl 2
Joe Schaefer 16:06 on 11 Nov 2004
|