DiviArea.Utils.setCookie(cookieName, value, lifespan)
Set the value of a cookie, with an expiration date.
Params
cookieName
- (string, required) Name of the cookie.
value
- (string, required) Value of the cookie.
lifespan
- (int, required) Cookie lifespan, in minutes.
Returns
The function does not return anything.
Notes
No notes