Altering HTTP Headers

Ian Shafer ian at 1321.org
Fri Aug 14 09:08:07 MSD 2009


Thank you so much for your solution. I'll test this tomorrow. Will the
proposed solution send two  Set-Cookie headers? Or does the add_header
directive replace the first Set-Cookie header?

Ian

On Thu, Aug 13, 2009 at 5:10 PM, Marcus Clyne <maccaday at gmail.com> wrote:

> Hi,
>
> Nick Pearson wrote:
>
>> Oops, I messed up on the add_header line.  It should have been:
>>
>>  add_header  Cookie  "something=$cookie_something  your_suffix_here";
>>
>>
> Should be
>
> add_header  Set-Cookie  "something=$cookie_something  your_suffix_here";
>
>
> Cheers,
>
> Marcus.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090813/7e09107e/attachment.html>


More information about the nginx mailing list