Multiple Set-Cookie Headers

Jaap van Arragon j.vanarragon at lukkien.com
Wed Nov 16 10:09:03 CET 2011


Hi Kenny,

We¹ve had the same problem. The only solution we came up, because we didn¹t
had a lot of time, was to adjust the application ;-(

So I am very curious to your thread and the solution off it.

Regards,
Jaap 


On 11/14/11 2:19 PM, "Kenny Deckers" <kennyds at ac-systems.com> wrote:

>    Hi,
>  
>  Yes that is correct. if the "Set-Cookie: EXTERNAL_NO_CACHE=1" header is set
> the response should be "passed".
>  Since Varnish can only analyze the first "Set-Cookie" header and the
> "EXTERNAL_NO_CACHE=1" is present in one of the following headers it will not
> see it and I can't have it 'pass' the response.
>  
>  Regards,
>  Kenny
>  
> 
>  
>  
>  On 11/14/2011 01:51 PM, Roberto O. Fernández Crisial wrote:
>>  
>> Hi,
>>  
>>  
>>  
>> I think Kenny's issue is that Varnish could be caching Set-Cookie response
>> and send cached object to all users with those Set-Cookie headers (like any
>> session).
>>  
>>  
>>  
>> I think Kenny should pass any "Set-Cookie: EXTERNAL_NO_CACHE=1" response.
>>  
>>  Roberto O. Fernández Crisial
>>  @rofc
>>  
>>  
>>  On Mon, Nov 14, 2011 at 7:58 AM, Kristian Lyngstol
>> <kristian at varnish-software.com> wrote:
>>  
>>>  Hi,
>>>  
>>> 
>>>  On Mon, Nov 14, 2011 at 09:42:59AM +0100, Kenny Deckers wrote:
>>>>  > I'm having the following issue with "multiple set-cookie headers":
>>>  
>>>  
>>>  (...)
>>>  
>>>  What issue? You are not saying anything about what you wan to
>>>  accomplish.
>>>  
>>>  Your web server sends multiple set-cookie headers. I assume you entered
>>>  the stars yourself.
>>>  
>>>  What are you trying to accomplish, and what have you actually tried with
>>>  the header vmod?
>>>  
>>>  - Kristian
>>>  
>>>  _______________________________________________
>>>  varnish-misc mailing list
>>>  varnish-misc at varnish-cache.org
>>>  https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>  
>>  
>>  
>>  
>>  
>> ______________________________________________________________________
>>  This email has been scanned by the MessageLabs Email Security System.
>>  For more information please visit http://www.messagelabs.com/email
>> ______________________________________________________________________
>>  
>  
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111116/567ed8e6/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 25873 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111116/567ed8e6/attachment-0003.jpg>


More information about the varnish-misc mailing list