Thanks for your answer, unfortunately it looks like we can't use it inside vcl_fetch<div><div><br></div><div>Message from VCC-compiler:</div><div>Variable 'obj.http.set-cookie' not accessible in method 'vcl_fetch'.</div>
<div><br></div><br><div class="gmail_quote">On Wed, Feb 23, 2011 at 3:48 PM, Stefan Pommerening <span dir="ltr"><<a href="mailto:pom@dmsp.de">pom@dmsp.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am 23.02.2011 15:43, schrieb Roch Delsalle:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to use the function /*unset beresp.http.set-cookie*/; in my configuration but it doesn't seem to be recognized with Varnish 2.0.6,<br>
Is there any alternative ?<br>
</blockquote>
<br></div>
Yes, please use 'unset obj.http.set-cookie' instead.<br>
<br>
Before varnish 2.1.x this was the usual syntax. Starting with 2.1.x obj.* was changed to beresp.*<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks<br>
<br>
-- <br>
D-Ro.ch <<a href="http://D-Ro.ch" target="_blank">http://D-Ro.ch</a>><br>
<br>
</blockquote>
<br>
-- <br>
<br>
*Dipl.-Inform. Stefan Pommerening<br>
Informatik-Büro: IT-Dienste & Projekte, Consulting & Coaching*<br>
<a href="http://www.dmsp.de" target="_blank">http://www.dmsp.de</a> <<a href="http://www.dmsp.de/" target="_blank">http://www.dmsp.de/</a>><br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Roch Delsalle<br>✆ +33 6 99 11 14 22<br>
</div>