다음을 통해 공유


SessionOptions.CookieSecure 속성

정의

주의

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

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

쿠키를 HTTPS 요청에서만 전송할지를 결정합니다.

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

속성 값

특성

적용 대상