Επεξεργασία

Κοινή χρήση μέσω


FormsAuthentication.CookieSameSite Property

Definition

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