System.Web.Configuration.AnonymousIdentificationSection.Cookieless Property

Gets or sets a value indicating whether to use cookies.

Syntax

[System.Configuration.ConfigurationProperty("cookieless", DefaultValue="UseCookies")]
public System.Web.HttpCookieMode Cookieless { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The AnonymousIdentificationSection.Cookieless property defines when a cookie should be used to maintain information about the user.

When the AnonymousIdentificationSection.Cookieless property is set to System.Web.HttpCookieMode.UseCookies, the user's identifier is stored in a cookie. For more information, refer to System.Web.HttpCookieMode.

Note:

ASP.NET stores the user's anonymous identifier within the URI path (that is, it runs in cookieless mode) if the AnonymousIdentificationSection.Cookieless property is set to one of the following values: System.Web.HttpCookieMode.UseUri; System.Web.HttpCookieMode.UseDeviceProfile when the browser profile indicates that cookies are not supported; or System.Web.HttpCookieMode.AutoDetect when the auto-detection process determines that the browser does not support cookies. Finally, if the size of the URI and the anonymous identifier exceeds the allowed length, the anonymous identifier is not applied.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0