Varnish 2.0.6 & unset beresp.http.set-cookie;

Roch Delsalle rdelsalle at gmail.com
Wed Feb 23 15:53:14 CET 2011


Thanks for your answer, unfortunately it looks like we can't use it inside
vcl_fetch

Message from VCC-compiler:
Variable 'obj.http.set-cookie' not accessible in method 'vcl_fetch'.


On Wed, Feb 23, 2011 at 3:48 PM, Stefan Pommerening <pom at dmsp.de> wrote:

> Am 23.02.2011 15:43, schrieb Roch Delsalle:
>
>  I'm trying to use the function /*unset beresp.http.set-cookie*/;  in my
>> configuration but it doesn't seem to be recognized with Varnish 2.0.6,
>> Is there any alternative ?
>>
>
> Yes, please use 'unset obj.http.set-cookie' instead.
>
> Before varnish 2.1.x this was the usual syntax. Starting with 2.1.x obj.*
> was changed to beresp.*
>
>  Thanks
>>
>> --
>> D-Ro.ch <http://D-Ro.ch>
>>
>>
> --
>
> *Dipl.-Inform. Stefan Pommerening
> Informatik-Büro: IT-Dienste & Projekte, Consulting & Coaching*
> http://www.dmsp.de <http://www.dmsp.de/>
>
>
>


-- 
Roch Delsalle
✆ +33 6 99 11 14 22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110223/56ef14db/attachment-0003.html>


More information about the varnish-misc mailing list