Determines how cookies are used for the web application.
The cookieless attribute can be one of the following possible values. The default value is UseCookies.
Note. When setting up an ASP.NET website with AJAX support, use only the default value for UseCookies for the cookieless attribute. settings that use cookies encoded in the URL are not supported by the ASP.NET AJAX client script libraries.
Value Description
AutoDetect ASP.NET determines whether the requesting browser or device supports cookies. If the requesting browser or device supports cookies, AutoDetect uses cookies to store user data; otherwise, the identifier is used in the query string. If the browser or device supports cookies, but cookies are currently disabled, cookies are still used by the requesting function.
UseCookies Cookies store user data regardless of whether the browser or device supports cookies.
UseDeviceProfile . ASP.NET determines whether to use cookies based on the HttpBrowserCapabilities parameter. If the HttpBrowserCapabilities that the browser or device supports cookies, cookies are used; otherwise, the identifier is used in the query string.
UseUri The calling function uses the query string to store the identifier, whether the browser or device supports cookies.