DiviArea.Utils.setCookie()

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

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us