Hi Alexandre,<div><br></div><div>You could use something on vcl_recv() like:</div><div><br></div><div>if (req.http.Cookie ~ "PHPSESSID")</div><div>{</div><div>remove req.http.Cookie;</div><div>}</div><div><br></div>
<div>Regards,</div><div>Roberto (a.k.a. @rofc)</div><div><br><div class="gmail_quote">On Wed, Mar 28, 2012 at 3:08 PM, Alexandre Priou <span dir="ltr"><<a href="mailto:apriou@gmail.com">apriou@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi at all <br><br>I need to erase all cookies in varnish conf except the cookie with name : PHPSESSID <br><br>how i can to do that ?<br>
<br>thank for your answer <br clear="all"><span class="HOEnZb"><font color="#888888"><br>-- <br>Alexandre Priou <br>Analyste Concepteur Web <br>
<br><br><br><br>
</font></span><br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>