Working with cookies
Last updated
Was this helpful?
Last updated
Was this helpful?
In Transparent Edge, we implement , allowing you to take advantage of all the benefits it offers.
In this case, we implement the 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 objects are available (vcl_deliver or vcl_backend_response).
You can find a comprehensive documentation of the cookieplus module in this from the official Varnish Enterprise documentation.