setCookie()Takes the name of a cookie and sets its value.
This function is valid in v2.24.2 to v2.24.3. This function has been downloaded 34 times.{path:'/'}
expires property to a Date object or the number representation of such a date. If you want to specify the maximum amount of seconds until the cookie expires you can set the maxAge (or max-age) property to the number of seconds. If you want to specify the hosts to which the cookie will be sent you can set the domain property. If a domain is specified, subdomains are always included. If you want to specify the URL path that under which the cookie will be saved you can specify it in the path property. If you want to set a secure cookie while on a secure site (https:) you can set the secure property to true. If you want to set the same site option to "none", "lax" or "strict" you can specify one of those strings as the value for the samesite property (or the sameSite property).This function directly requires the following function which is included automatically:
hasCookie()This function is directly required by the following function:
removeCookie()