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

2005-02-03 Thread ben syverson
Hello, I'm new to the list, although I've read so many of its messages I feel like I subscribed weeks ago. :) I'm having some problems getting libapreq2's Apache::Cookie to send out more than one cookie. The same basic code worked fine in mp1, which makes me think I'm doing something

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

2005-02-03 Thread Kurt Hansen
ben syverson wrote: I'm new to the list, although I've read so many of its messages I feel like I subscribed weeks ago. :) I'm having some problems getting libapreq2's Apache::Cookie to send out more than one cookie. The same basic code worked fine in mp1, which makes me think I'm doing

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

2005-02-03 Thread ben syverson
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

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

2005-02-03 Thread Joe Schaefer
ben syverson [EMAIL PROTECTED] writes: 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)... No that's not the problem. There's a bug in how 2.04

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

2005-02-03 Thread ben syverson
On Feb 3, 2005, at 2:25 PM, Joe Schaefer wrote: No that's not the problem. There's a bug in how 2.04 bakes cookies (it sets the table entry using apr_table_addn on a stack buffer instead of calling apr_table_add). Blamo. That definitely explains it -- thanks! It doesn't help that the libapreq2