System.Web.Security.FormsAuthentication.DefaultUrl Property

Gets the URL that the System.Web.Security.FormsAuthentication class will redirect to if no redirect URL is specified.

Syntax

public static string DefaultUrl { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The FormsAuthentication.DefaultUrl property value is set in the configuration file for an ASP.NET application by using the defaultUrl attribute of the forms configuration element. The FormsAuthentication.DefaultUrl property is used by the erload:System.Web.Security.FormsAuthentication.RedirectFromLoginPage method if no return URL is included in the request. Similarly, the FormsAuthentication.GetRedirectUrl(string, bool) method will return the FormsAuthentication.DefaultUrl if no return URL is included in the request.

Requirements

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