Re: [mp2] Apache::Cookie only sets last cookie?

[prev] [thread] [next] [Date index for 2005/02/03]

From: ben syverson
Subject: Re: [mp2] Apache::Cookie only sets last cookie?
Date: 20:03 on 03 Feb 2005
On Feb 3, 2005, at 8:32 AM, Kurt Hansen wrote:

> Have you checked the expiration of your cookies?

Hi Kurt,

I cut out the expires, domain and path information to make a more 
concise listing for email. The expires is set to '+12h,' and is set 
fine for the last cookie out. I haven't looked at the code, but I 
suspect that "bake" is accidentally doing the equivalent of 
$r->headers_out->set('Set-Cookie' => $cookie) rather than 
$r->headers_out->add('Set-Cookie' => $cookie)...

It doesn't help that the libapreq2 test suite only attempts to set one 
cookie. :)

- ben

[mp2] Apache::Cookie only sets last cookie?
ben syverson 10:55 on 03 Feb 2005

Re: [mp2] Apache::Cookie only sets last cookie?
Kurt Hansen 14:32 on 03 Feb 2005

Re: [mp2] Apache::Cookie only sets last cookie?
ben syverson 20:03 on 03 Feb 2005

Re: [mp2] Apache::Cookie only sets last cookie?
Joe Schaefer 20:25 on 03 Feb 2005

Re: [mp2] Apache::Cookie only sets last cookie?
ben syverson 04:32 on 04 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52