On Wed, Mar 28, 2012 at 8:25 PM, James Light <[email protected]>wrote:

> What you asked was how to remove every *other* cookie *except* PHPSESSID.
>
> There is an example of how to do that on the  varnish site here:
> https://www.varnish-cache.org/docs/3.0/tutorial/cookies.html
>
> Personally, I prefer a different way, which amounts to:
>    * extract the PHPSESSID into a different header
>    * unset the entire Cookie Header
>    * add back only the PHPSESSID as the Cookie header
>


Thats quite a neat way to do it. Could you send me the VCL for this? It
might be a good example for the docs. The current example is rather horrid.


-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to