Hi all,

I have another problem I am trying to solve.

One of the sites that sits behind a varnish service, uses an on_page_load 
module that sends a pop-up asking for an email address (for mail list 
subscription). It needs to then set a cookie that expires in 30 days (so 
visitors aren't constantly hit with this pop-up)

So, in vcl_fetch, I have this:


        if (!beresp.http.set-cookie ~ "modaldone"){
                unset beresp.http.set-Cookie;
        }

Where 'modaldone' is the name of the cookie being set by the backend - yet this 
still doesn't get set.

Here's the complete dump of default.vcl   http://pastebin.com/jzNJbs49

Have I missed something obvious?

Many thanks.

Paul
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to