System.Web.Configuration.HttpCookiesSection.RequireSSL Property

Gets or sets a value indicating whether Secure Sockets Layer (SSL) communication is required.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The HttpCookiesSection.RequireSSL property enables or disables output of the secure cookie attribute as described in RFC 2109. When used by compliant browsers, the cookie will only be sent back over a connection using SSL/TLS. The default is false.

Requirements

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