Compartir a través de


SessionOptions.CookieSecure Propiedad

Definición

Precaución

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

Esta propiedad está obsoleta y se quitará en una versión futura. La alternativa recomendada es en Cookie.

Determina si la cookie solo se debe transmitir en las solicitudes 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

Valor de propiedad

Atributos

Se aplica a