FormsAuthenticationConfiguration.RequireSSL Property
.NET Framework 3.0
Gets or sets a value indicating whether a Secure Sockets Layer (SSL) connection is required when transmitting authentication information.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
FormsAuthenticationConfiguration Members
System.Web.Configuration Namespace
FormsAuthenticationConfiguration.Protection Property
forms Element for authentication (ASP.NET Settings Schema)
credentials Element for forms for authentication (ASP.NET Settings Schema)
Assembly: System.Web (in system.web.dll)
/** @property */ public boolean get_RequireSSL () /** @property */ public void set_RequireSSL (boolean value)
public function get RequireSSL () : boolean public function set RequireSSL (value : boolean)
Not applicable.
Property Value
true if an SSL connection is required; otherwise, false. The default is false.The following code example shows how to access the RequireSSL property 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
FormsAuthenticationConfiguration.Protection Property
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)