FormsAuthentication.CookieSameSite Property
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.
Gets or sets the value for the SameSite attribute of the cookie.
public:
static property System::Web::SameSiteMode CookieSameSite { System::Web::SameSiteMode get(); };
public static System.Web.SameSiteMode CookieSameSite { get; }
static member CookieSameSite : System.Web.SameSiteMode
Public Shared ReadOnly Property CookieSameSite As SameSiteMode
Property Value
One of the enumeration values that represents the enforcement mode of the cookie. The default value is Lax.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.