共用方式為


CookieAuthenticationOptions.CookiePath 屬性

定義

警告

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

這個屬性已過時,未來版本將會移除。 建議的替代做法是在 上 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

屬性值

屬性

適用於