Gets or sets a value indicating whether authenticated users can be redirected to URLS in other applications.
Assembly: System.Web (in System.Web.dll)
'Declaration <ConfigurationPropertyAttribute("enableCrossAppRedirects", DefaultValue := False)> _ Public Property EnableCrossAppRedirects As Boolean
Property ValueType: System.Boolean
true if authenticated users can be redirected to URLs in other applications; otherwise false. The default is false.
The property value sets the enableCrossAppRedirects attribute of the forms section in the authentication section of a configuration.
The property is checked by the method when the redirection is to a URL that is not in the current application. If is true, then the redirect is performed; otherwise the browser is redirected to the page defined in the DefaultUrl property.
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.
The following code example shows how to access the property. Refer to the code example in the FormsAuthenticationConfiguration class topic to learn how to get the section.
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)