Cookie.SameSite

Cookie SameSite flag

Values

ValueMeaning
NotSet"NotSet"

SameSite flag will not be set.

Strict"Strict"

Strict value. Cookie will be sent only if the request is from the same site.

Lax"Lax"

Lax value. Cookie will be sent only if the request is from the same site, except for links from external sites.

None"None"

None value. Cookie will be sent always. Secure flag will be set.

Meta