CookieSameSite Enumeration |
Version 130.1.90
Cookie same site values.
Namespace: CefSharp.EnumsAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public enum CookieSameSite
public enum class CookieSameSite
Members Member name | Value | Description |
---|
Unspecified | 0 |
Unspecified
|
NoRestriction | 1 |
Cookies will be sent in all contexts, i.e sending cross-origin is allowed.
None used to be the default value, but recent browser versions made Lax the default value to have reasonably robust defense against some classes of cross-site request forgery (CSRF) attacks.
|
LaxMode | 2 |
Cookies are allowed to be sent with top-level navigations and will be sent along with GET request initiated by third party website. This is the default value in modern browsers.
|
StrictMode | 3 |
Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
|
Remarks
See https://source.chromium.org/chromium/chromium/src/+/master:net/cookies/cookie_constants.h
See Also