SessionOptions.CookieSecure Propriété

Définition

Attention

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

Cette propriété est obsolète et sera supprimée dans une version ultérieure. L’alternative recommandée est sur Cookie.

Détermine si le cookie doit être transmis uniquement lors des requêtes 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

Valeur de propriété

Attributs

S’applique à