Share via


IHttpCookie.Secure Property

Definition

Gets or sets the Secure attribute on the cookie. A value of true will ensure that the cookie is only sent with encrypted requests over HTTPS.

public bool? Secure { get; }
member this.Secure : Nullable<bool>
Public ReadOnly Property Secure As Nullable(Of Boolean)

Property Value

Applies to