On Thu, Mar 26, 2009 at 09:37, Marco Spinetti <m.spine...@pisa.iol.it> wrote:
> I have a doubt about ho to set multiple cookies.
> I'm using apache 2.2 and in my module handler I'm trying to set two
> different cookies with:
>
> apr_table_set(r->headers_out, "Set-Cookie", co);
>
> apr_table_set(r->headers_out, "Set-Cookie", co1);
>
> It seems that the second instruction override the first one.
> So my question: how can I set two cookies in my module?

apr_table_addn(r->headers_out, "Set-Cookie", cookie);


-- 
A: Because it reverses the logical flow of conversation.
Q: Why is top-posting frowned upon?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Reply via email to