CookieOptions.Secure 속성

정의

SSL(Secure Sockets Layer)을 사용하여 쿠키를 전송할지, 즉 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

속성 값

SSL 연결(HTTPS)을 통해서만 쿠키를 전송하려면 true이고, 그렇지 않으면 false입니다.

적용 대상