HttpCookie.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; set; }
member this.Secure : Nullable<bool> with get, set
Public Property Secure As Nullable(Of Boolean)

Property Value

Applies to