Instances of the Cookie component represent an HTTP cookie. Each instance holds all the attributes of a cookie, including: its name, value, expiration time, associated domain and path.
Use component CookieManager to add new cookies or access the list of existing cookies.
Refer to the CookieManager component for examples.