Can Varnish Set Cookies?

Roberto O. Fernández Crisial roberto.fernandezcrisial at
Fri Nov 18 21:48:56 CET 2011


Have you tried with..

set req.http.Set-Cookie = "something";
set beresp.http.Set-Cookie = "something";


Roberto O. Fernández Crisial

On Fri, Nov 18, 2011 at 5:36 PM, Travis Crowder
<travis.crowder at>wrote:

> Sorry if this is on the ineternet somewhere, but I have yet to find it.
> Can Varnish set a cookie?
> In example, if a user on a mobile device goes to, Varnish sees a
> mobile user agent and redirects them to via the vcl_error
> section.  Before or after the redirect, can Varnish set a cookie without
> the application doing so?
> Thanks,
> Travis
> ______________________________**_________________
> varnish-misc mailing list
> varnish-misc at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list