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

属性值

属性

适用于