FormsAuthenticationConfiguration.Cookieless Property
Gets or sets a value indicating whether forms-based authentication should use cookies.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("cookieless", DefaultValue = HttpCookieMode.UseDeviceProfile)] public HttpCookieMode Cookieless { get; set; }
Property Value
Type: System.Web.HttpCookieModeOne of the HttpCookieMode values. The default value is UseDeviceProfile.
The Cookieless property defines whether forms-based authentication should use a cookie to exchange user information.
The following code example demonstrates how to access the Cookieless property. Refer to the code example in the FormsAuthenticationConfiguration class topic to learn how to get the section.
Available since 2.0
Protection
FormsAuthenticationConfiguration Class
System.Web.Configuration Namespace
authentication Element (ASP.NET Settings Schema)
forms Element for authentication (ASP.NET Settings Schema)
credentials Element for forms for authentication (ASP.NET Settings Schema)
ASP.NET Authentication
Forms Authentication Provider