question on the cookies and varnish
Per Buer
perbu at varnish-software.com
Wed Mar 28 22:04:11 CEST 2012
On Wed, Mar 28, 2012 at 8:25 PM, James Light <j.gareth.light at gmail.com>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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120328/cc9cd01a/attachment.html>
More information about the varnish-misc
mailing list