AnonymousIdentificationSection::Cookieless Property
Gets or sets a value indicating whether to use cookies.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute(L"cookieless", DefaultValue = HttpCookieMode::UseCookies)] public: property HttpCookieMode Cookieless { HttpCookieMode get (); void set (HttpCookieMode value); }
Property Value
Type: System.Web::HttpCookieModeOne of the HttpCookieMode values. The default value is UseDeviceProfile.
The Cookieless property defines when a cookie should be used to maintain information about the user.
When the Cookieless property is set to UseCookies, the user's identifier is stored in a cookie. For more information, refer to HttpCookieMode.
Note |
|---|
ASP.NET stores the user's anonymous identifier within the URI path (that is, it runs in cookieless mode) if the Cookieless property is set to one of the following values: UseUri; UseDeviceProfile when the browser profile indicates that cookies are not supported; or 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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note