다음을 통해 공유


IHttpCookie.HttpOnly Property

Definition

Gets or sets the HttpOnly attributes on the cookie. A value of true will make the cookie inaccessible to JavaScript's Document.cookie API.

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

Property Value

Applies to