Multiple Set-Cookie Headers

Kenny Deckers kennyds at ac-systems.com
Mon Nov 14 14:19:39 CET 2011


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 <mailto: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 <mailto: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
> ______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111114/ecea9896/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: business_card.jpg
Type: image/jpeg
Size: 25873 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111114/ecea9896/attachment-0003.jpg>


More information about the varnish-misc mailing list