FormsAuthenticationConfiguration.LoginUrl Property
.NET Framework 2.0
Gets or sets the redirection URL for the request.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
FormsAuthenticationConfiguration Members
System.Web.Configuration Namespace
forms Element for authentication (ASP.NET Settings Schema)
credentials Element for forms for authentication (ASP.NET Settings Schema)
ASP.NET Authentication
Forms Authentication Provider
Assembly: System.Web (in system.web.dll)
/** @property */ public String get_LoginUrl () /** @property */ public void set_LoginUrl (String value)
public function get LoginUrl () : String public function set LoginUrl (value : String)
Not applicable.
Property Value
The URL the request is redirected to when the user is not authenticated. The default value is login.aspx.The following code example shows how to access the LoginUrl. Refer to the code example in the FormsAuthenticationConfiguration class topic to learn how to get the section.
Reference
FormsAuthenticationConfiguration ClassFormsAuthenticationConfiguration Members
System.Web.Configuration Namespace
Other Resources
authentication Element (ASP.NET Settings Schema)forms Element for authentication (ASP.NET Settings Schema)
credentials Element for forms for authentication (ASP.NET Settings Schema)
ASP.NET Authentication
Forms Authentication Provider