goog.net.Cookies.SameSite
Provided By | |
---|---|
Type | string |
Valid values for the SameSite cookie attribute. In 2019, browsers began the process of changing the default from NONE to LAX.
Values
LAX | The cookie will be sent in first-party contexts, including initial navigation from external referrers. |
---|---|
NONE | The cookie will be sent in all first-party or third-party contexts. This was the original default behavior of the web, but will need to be set explicitly starting in 2020. |
STRICT | The cookie will only be sent in first-party contexts. It will not be sent on initial navigation from external referrers. |