question on the cookies and varnish

Roberto O. Fernández Crisial roberto.fernandezcrisial at gmail.com
Wed Mar 28 20:14:30 CEST 2012


Hi Alexandre,

You could use something on vcl_recv() like:

if (req.http.Cookie ~ "PHPSESSID")
{
remove req.http.Cookie;
}

Regards,
Roberto (a.k.a. @rofc)

On Wed, Mar 28, 2012 at 3:08 PM, Alexandre Priou <apriou at gmail.com> wrote:

> hi at all
>
> I need to erase all cookies in varnish conf except the cookie with name :
> PHPSESSID
>
> how i can to do that ?
>
> thank for your answer
>
> --
> Alexandre Priou
> Analyste Concepteur Web
>
>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120328/3c5ee952/attachment.html>


More information about the varnish-misc mailing list