System.Web.Configuration.HttpCapabilitiesBase.SupportsRedirectWithCookie Property

Gets a value indicating whether the browser supports cookies on redirection.

Syntax

public virtual bool SupportsRedirectWithCookie { get; }

Value

Documentation for this section has not yet been entered.

Remarks

With UP.Browser 4.1 or UP.Browser 3.2, the System.Web.HttpResponse.Redirect(string) method behaves as if the value of the HttpCapabilitiesBase.SupportsRedirectWithCookie property of the System.Web.HttpBrowserCapabilities object is false, unless the SessionStateSection.Cookieless property in the SystemWebSectionGroup.SessionState section of Web.config has been explicitly set to true.

In ASP.NET 1.1, the options for this setting were true or false, but with ASP.NET 2.0, the choices are expanded, and System.Web.HttpCookieMode.AutoDetect is now the default setting. If your Web application has the cookieless attribute of the <sessionState> section in the Web.config file set to a Boolean value, System.Web.HttpResponse.Redirect(string) should work as expected for these browsers.

Requirements

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