question on the cookies and varnish

Alexandre Priou apriou at gmail.com
Wed Mar 28 20:16:05 CEST 2012


thank at all

i try that

best regard

2012/3/28 Roberto O. Fernández Crisial <roberto.fernandezcrisial at gmail.com>

> 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
>>
>
>


-- 
Alexandre Priou
Analyste Concepteur Web
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120328/935daa2e/attachment-0001.html>


More information about the varnish-misc mailing list