HttpCookiesSection.RequireSSL Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets or sets a value indicating whether Secure Sockets Layer (SSL) communication is required.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("requireSSL", DefaultValue = false)] public bool RequireSSL { get; set; }
The 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: