CookieOptions.Secure Vlastnost

Definice

Získá nebo nastaví hodnotu, která označuje, zda se má soubor cookie přenášet pomocí protokolu SSL (Secure Sockets Layer) – to znamená pouze přes HTTPS.

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

Hodnota vlastnosti

Boolean

true to transmit the cookie only over an SSL connection (HTTPS); jinak nepravda.

Platí pro