question on the cookies and varnish
Paul A. Procacci
pprocacci at datapipe.com
Wed Mar 28 20:33:40 CEST 2012
On Wed, Mar 28, 2012 at 01:32:46PM -0500, Paul A. Procacci wrote:
> Haven't tested it, but it seems this would do what the parent wants.
> `header.get(<header>, <regular expression>)`
> import header;
> set req.http.cookie = header.get(req.http.cookie, "PHPSESSID");
> On Wed, Mar 28, 2012 at 08:12:15PM +0200, Martin Koch Andersen wrote:
> > Den 28/03/2012 kl. 20.08 skrev Alexandre Priou:
> > > hi at all
> > >
> > > I need to erase all cookies in varnish conf except the cookie with name : PHPSESSID
> > >
> > > how i can to do that ?
> > This nasty way: https://www.varnish-cache.org/trac/wiki/VCLExampleRemovingSomeCookies
> > Did anyone do a nice VMOD for this?
> > --
> > Martin Koch Andersen
> > http://925.dk
> > _______________________________________________
> > varnish-misc mailing list
> > varnish-misc at varnish-cache.org
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you.
More information about the varnish-misc