System.Web.Configuration.FormsAuthenticationConfiguration.EnableCrossAppRedirects Property

Gets or sets a value indicating whether authenticated users can be redirected to URLS in other applications.

Syntax

[System.Configuration.ConfigurationProperty("enableCrossAppRedirects", DefaultValue="False")]
public bool EnableCrossAppRedirects { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The FormsAuthenticationConfiguration.EnableCrossAppRedirects property value sets the enableCrossAppRedirects attribute of the forms section in the authentication section of a configuration.

The FormsAuthenticationConfiguration.EnableCrossAppRedirects property is checked by the FormsAuthenticationConfiguration.EnableCrossAppRedirects method when the redirection is to a URL that is not in the current application. If FormsAuthenticationConfiguration.EnableCrossAppRedirects is true, then the redirect is performed; otherwise the browser is redirected to the page defined in the System.Web.Security.FormsAuthentication.DefaultUrl property.

Note:

When performing redirects across applications, you must ensure that several of the attributes in the form configuration section are duplicated across the authenticated applications. For more information and an example, see Forms Authentication Across Applications.

Requirements

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