(allow only cookes named like fbs_,_twitter_sess,tt,tsk and remove all other
cookies)
in vcl_recv....
if (!req.http.Cookie ~ "fbs_|_twitter_sess|tt|tsk")
{
unset req.http.Cookie;
}
in vcl_fetch...
if (!beresp.http.set-Cookie ~ "fbs_|_twitter_sess|tt|tsk")
{
unset beresp.http.set-Cookie;
}
ShiB.
while ( ! ( succeed = try() ) );
On Tue, May 3, 2011 at 6:44 PM, <[email protected]> wrote:
> Hi,
>
>
>
> I want to allow the backend to set only certain cookies (in the same time
> I want to remove PHP session cookie).
>
> How can I do this?
>
>
>
> Kind Regards,
>
> Cristian
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc