FormsAuthenticationConfiguration.Cookieless Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Form tabanlı kimlik doğrulamasının tanımlama bilgileri kullanıp kullanmayacağını belirten bir değer alır veya ayarlar.
public:
property System::Web::HttpCookieMode Cookieless { System::Web::HttpCookieMode get(); void set(System::Web::HttpCookieMode value); };
[System.Configuration.ConfigurationProperty("cookieless", DefaultValue=System.Web.HttpCookieMode.UseDeviceProfile)]
public System.Web.HttpCookieMode Cookieless { get; set; }
[<System.Configuration.ConfigurationProperty("cookieless", DefaultValue=System.Web.HttpCookieMode.UseDeviceProfile)>]
member this.Cookieless : System.Web.HttpCookieMode with get, set
Public Property Cookieless As HttpCookieMode
Özellik Değeri
Değerlerden HttpCookieMode biri. UseDeviceProfile varsayılan değerdir.
- Öznitelikler
Örnekler
Aşağıdaki kod örneği özelliğine nasıl erişeceklerini Cookieless gösterir. Bölümü nasıl edineceğinizi öğrenmek için sınıf konusunun kod örneğine FormsAuthenticationConfiguration bakın.
// Get current Cookieless.
System.Web.HttpCookieMode currentCookieless =
formsAuthentication.Cookieless;
// Set current Cookieless.
formsAuthentication.Cookieless =
HttpCookieMode.AutoDetect;
' Get current Cookieless.
Dim currentCookieless _
As System.Web.HttpCookieMode =
formsAuthentication.Cookieless
' Set current Cookieless.
formsAuthentication.Cookieless = HttpCookieMode.AutoDetect
Açıklamalar
özelliği, Cookieless form tabanlı kimlik doğrulamasının kullanıcı bilgilerini değiştirmek için tanımlama bilgisi kullanıp kullanmayacağını tanımlar.