Domain name for the cookie. Defaults to the domain name of the app.
A synchronous function used for cookie value encoding. Defaults to encodeURIComponent.
Expiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie.
Flags the cookie to be accessible only by the web server.
Convenient option for setting the expiry time relative to the current time in milliseconds.
Path for the cookie. Defaults to “/”.
Marks the cookie to be used with HTTPS only.
Indicates if the cookie should be signed.
Domain name for the cookie.
Domain name for the cookie. Defaults to the domain name of the app.
A synchronous function used for cookie value encoding.
A synchronous function used for cookie value encoding. Defaults to encodeURIComponent.
Expiry date of the cookie in GMT.
Expiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie.
Flags the cookie to be accessible only by the web server.
Convenient option for setting the expiry time relative to the current time in milliseconds.
Path for the cookie.
Path for the cookie. Defaults to “/”.
Marks the cookie to be used with HTTPS only.
Indicates if the cookie should be signed.
Cookie Options