System.Web.HttpCookieMode.AutoDetect Field

ASP.NET determines whether the requesting browser or device supports cookies. If the requesting browser or device supports cookies then HttpCookieMode.AutoDetect uses cookies to persist user data; otherwise, an identifier is used in the query string. If the browser or device supports the use of cookies but cookies are currently disabled, cookies are still used by the requesting feature.

Syntax

HttpCookieMode AutoDetect

Requirements

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