SameSiteMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to set the SameSite field on response cookies to indicate if those cookies should be included by the client on future "same-site" or "cross-site" requests. RFC Draft: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.1
public enum class SameSiteMode
public enum SameSiteMode
type SameSiteMode =
Public Enum SameSiteMode
- Inheritance
-
SameSiteMode
Fields
Lax | 1 | Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations. |
None | 0 | Indicates the client should disable same-site restrictions. |
Strict | 2 | Indicates the client should only send the cookie with "same-site" requests. |
Unspecified | -1 | No SameSite field will be set, the client should follow its default cookie policy. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for