Working with cookies
In Transparent Edge, we implement Varnish Enterprise, allowing you to take advantage of all the benefits it offers.
In this case, we implement the cookieplus module of Varnish.
This module enables you to interact with both request and response cookies. You can add, remove, and retrieve the values of the Cookie header (req.http.Cookie) and the Set-Cookie header (resp.http.Set-Cookie).
All functions maintain an internal state of the Cookie and Set-Cookie until you release it in the configuration using the write() or setcookie_write() function.
Operations with set-cookies can only be used where the resp or beresp objects are available (vcl_deliver or vcl_backend_response).
Cookie filtering
Set-cookies filtering
You can find a comprehensive documentation of the cookieplus module in this link from the official Varnish Enterprise documentation.
Last updated