Specifies how cookies are used for a Web application.
Assembly: System.Web (in System.Web.dll)
|Cookies are used to persist user data regardless of whether the browser or device supports cookies.|
|The calling feature uses the query string to store an identifier regardless of whether the browser or device supports cookies.|
The enumeration is used to specify the value of the cookieless attribute in the sessionState configuration section. It is used by all features that support cookieless authentication.
The enumeration values specify how a cookie should be used to maintain information about the user. When is used, ASP.NET queries the browser or device to determine whether it supports cookies. If the browser or device supports cookies, then cookies are used to persist user data; otherwise, an identifier is used in the query string.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.