Dela via


SetCookieHeaderValue.Secure Property

Definition

Gets or sets a value for the Secure cookie attribute.

The Secure attribute limits the scope of the cookie to "secure" channels.

public:
 property bool Secure { bool get(); void set(bool value); };
public bool Secure { get; set; }
member this.Secure : bool with get, set
Public Property Secure As Boolean

Property Value

Remarks

See https://tools.ietf.org/html/rfc6265#section-4.1.2.5.

Applies to