<div>(allow only cookes named like fbs_,_twitter_sess,tt,tsk and remove all other cookies)</div><div><br></div>in vcl_recv.... <div><br></div><div><div>  if (!req.http.Cookie ~ "fbs_|_twitter_sess|tt|tsk")</div><div>


 {</div><div>    unset req.http.Cookie;</div><div>  }</div></div><div><br></div><div>in vcl_fetch...</div><div><br></div><div><div>  if (!beresp.http.set-Cookie ~ "fbs_|_twitter_sess|tt|tsk")</div><div>
 {</div><div>    unset beresp.http.set-Cookie;</div><div>  }</div></div><div><br></div><div><br></div><div><br clear="all">ShiB.<br>while ( ! ( succeed = try() ) );<br>
<br><br><div class="gmail_quote">On Tue, May 3, 2011 at 6:44 PM,  <span dir="ltr"><<a href="mailto:cristian.baciu@softlandro.com" target="_blank">cristian.baciu@softlandro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div lang="RO" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hi,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I want to allow  the backend to set only certain cookies  (in the same time I want to remove PHP session cookie).</span></p>


<p class="MsoNormal"><span lang="EN-US">How can I do this?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Kind Regards,</span></p><p class="MsoNormal"><span lang="EN-US">Cristian</span></p>


</div></div><br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>