SessionOptions.CookieHttpOnly 속성

정의

주의

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.

이 속성은 더 이상 사용되지 않으며 이후 버전에서 제거될 예정입니다. 권장되는 대안은 에 있습니다 Cookie.

브라우저가 클라이언트 쪽 JavaScript의 쿠키 액세스를 허용할지 결정합니다. 기본값은 true입니다. 즉, 쿠키는 HTTP 요청에만 전달되고 페이지의 스크립트에 사용할 수 없습니다.

public:
 property bool CookieHttpOnly { bool get(); void set(bool value); };
public bool CookieHttpOnly { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.")]
public bool CookieHttpOnly { get; set; }
member this.CookieHttpOnly : bool with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.HttpOnly.")>]
member this.CookieHttpOnly : bool with get, set
Public Property CookieHttpOnly As Boolean

속성 값

특성

적용 대상