SetCookieHeaderValue.HttpOnly Proprietà

Definizione

Ottiene o imposta un valore per l'attributo HttpOnly cookie.

HttpOnly indica all'agente utente di omettere il cookie quando fornisce l'accesso ai cookie tramite API "non HTTP" (ad esempio un'API del Web browser che espone i cookie agli script).

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

Valore della proprietà

Commenti

Vedere https://tools.ietf.org/html/rfc6265#section-4.1.2.6.

Si applica a