CookieAuthenticationOptions.CookiePath 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.
此屬性已過時,未來版本將被移除。 推薦的替代方案是 <seealso cref=“P:Microsoft。AspNetCore.Http.CookieBuilder.Path“></seealso> on Cookie。
決定建立 Cookie 的路徑。 預設值為「/」以達到最高瀏覽器相容性。
public:
property System::String ^ CookiePath { System::String ^ get(); void set(System::String ^ value); };
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public string CookiePath { get; set; }
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.CookiePath : string with get, set
Public Property CookiePath As String
屬性值
- 屬性