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 <[email protected]> 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
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to