Remove only selected cookies from requests?

Tollef Fog Heen tfheen at linpro.no
Fri Oct 17 13:51:02 CEST 2008


]] Espen Braastad 

| On 2008-10-07 15:49, Espen Braastad <espen at linpro.no> wrote:
| 
| >The question:
| >Is it possible to match cookie names in each request to a regexp, and
| >remove only specified cookies? Other cookies must not be removed.
| 
| The answer:
| Yes. The following two lines in vcl_recv will remove the cookie named
| baz only:

I've added this to the wiki,
http://varnish.projects.linpro.no/wiki/VCLExampleRemovingSomeCookies

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list