Takes the name of a cookie and sets its value.This function is valid in v2.0.0 to v2.17.1. This function has been downloaded 14 times.
expiresproperty to a
Dateobject 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
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
domainproperty. 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
pathproperty. If you want to set a secure cookie while on a secure site (
https:) you can set the
This function requires the following function which is included automatically: