Cookies in VCL

Poul-Henning Kamp phk at
Tue Apr 8 11:38:39 CEST 2008

In message <2oikjahtt5wixgp.080420081122 at>, duja at writes:
>A question about cookies in VCL.
>Is there a way of handling cookies in VCL?

Not yet, but it's on our list.

>if(req.http.Cookies[userid] == "1234")
>set req.http.Cookies[language] = "sv"
>varnish-misc mailing list
>varnish-misc at

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list