CookieAuthenticationOptions.CookiePath 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
屬性值
- 屬性