goog.net.Cookies.SetOptions
Instance Properties
expand_more
this.domain → (string|null|undefined)
(string|null|undefined)
The domain of the cookie, or null to not specify a domain attribute (browser will use the full request host name). If not provided, the default is null (i.e. let browser use full request host name).
expand_more
this.maxAge → (number|undefined)
(number|undefined)
The max age in seconds (from now). Use -1 to set a session cookie. If not provided, the default is -1 (i.e. set a session cookie).
expand_more
this.path → (string|null|undefined)
(string|null|undefined)
The path of the cookie. If not present then this uses the full request path.
expand_more
this.sameSite → (goog.net.Cookies.SameSite|undefined)
(goog.net.Cookies.SameSite|undefined)
The SameSite attribute for the cookie (default is NONE).
expand_more
this.secure → (boolean|undefined)
(boolean|undefined)
Whether the cookie should only be sent over a secure channel.