<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
- I installed Varnish 3.0.1 from source<br>
- I installed libvmod-header
(<a class="moz-txt-link-freetext" href="https://github.com/KristianLyng/libvmod-header">https://github.com/KristianLyng/libvmod-header</a><br>
- I modified the default.vcl vcl_fetch method:<br>
beresp.http.Set-Cookie ~ "NO_CACHE=" <br>
replaced by<br>
header.get(beresp.http.Set-Cookie, "NO_CACHE=")<br>
<br>
If there is anything else please let me know. If you want us to have
a look at it please let me know so I can get back to you.<br>
<br>
Regards,<i><br>
Kenny<br>
</i>
<div class="moz-signature"><br>
<img src="cid:part1.06090204.09070904@ac-systems.com" border="0"></div>
<br>
On 11/16/2011 10:09 AM, Jaap van Arragon wrote:
<blockquote cite="mid:CAE93C3F.58572%25j.vanarragon@lukkien.com"
type="cite">
<title>Re: Multiple Set-Cookie Headers</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt">Hi Kenny,<br>
<br>
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 ;-(<br>
<br>
So I am very curious to your thread and the solution off it.<br>
<br>
Regards,<br>
Jaap <br>
<br>
<br>
On 11/14/11 2:19 PM, "Kenny Deckers" <<a
moz-do-not-send="true" href="kennyds@ac-systems.com">kennyds@ac-systems.com</a>>
wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt"> Hi,<br>
<br>
Yes that is correct. if the "Set-Cookie:
EXTERNAL_NO_CACHE=1" header is set the response should be
"passed".<br>
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.<br>
<br>
Regards,<br>
Kenny<br>
<br>
<br>
<img src="cid:part2.05010005.06060401@ac-systems.com"><br>
<br>
On 11/14/2011 01:51 PM, Roberto O. Fernández Crisial wrote:
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt"> <br>
Hi,<br>
<br>
<br>
<br>
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).<br>
<br>
<br>
<br>
I think Kenny should pass any "Set-Cookie:
EXTERNAL_NO_CACHE=1" response.<br>
<br>
Roberto O. Fernández Crisial<br>
@rofc<br>
<font color="#222222"><b> <br>
</b></font> <br>
On Mon, Nov 14, 2011 at 7:58 AM, Kristian Lyngstol <<a
moz-do-not-send="true"
href="kristian@varnish-software.com">kristian@varnish-software.com</a>>
wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt"> Hi,<br>
<br>
<br>
On Mon, Nov 14, 2011 at 09:42:59AM +0100, Kenny Deckers
wrote:<br>
> I'm having the following issue with "multiple
set-cookie headers":<br>
<br>
<br>
(...)<br>
<br>
What issue? You are not saying anything about what you
wan to<br>
accomplish.<br>
<br>
Your web server sends multiple set-cookie headers. I
assume you entered<br>
the stars yourself.<br>
<br>
What are you trying to accomplish, and what have you
actually tried with<br>
the header vmod?<br>
<br>
- Kristian<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a moz-do-not-send="true"
href="varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a moz-do-not-send="true"
href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt"> <br>
<br>
<br>
<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email
Security System.<br>
For more information please visit <a
moz-do-not-send="true"
href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a>
<br>
______________________________________________________________________<br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size:11pt"> <br>
<hr align="CENTER" size="3" width="95%"></span></font><font
size="2"><font face="Consolas, Courier New, Courier"><span
style="font-size:10pt">_______________________________________________<br>
varnish-misc mailing list<br>
<a moz-do-not-send="true"
href="varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a moz-do-not-send="true"
href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</span></font></font></blockquote>
<br clear="all">
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security
System.<br>
For more information please visit <a class="moz-txt-link-freetext" href="http://www.messagelabs.com/email">http://www.messagelabs.com/email</a>
<br>
______________________________________________________________________<br>
</blockquote>
</body>
</html>