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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.