Share via


CookieBuilder.HttpOnly Property

Definition

Indicates whether a cookie is inaccessible by client-side script. The default value is false but specific components may use a different value.

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

Property Value

Remarks

Determines the value that will be set on HttpOnly.

Applies to