Share via


CookieTempDataProviderOptions.Path Property

Definition

Caution

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

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

The path set on the cookie. If set to null, the "path" attribute on the cookie is set to the current request's PathBase value. If the value of PathBase is null or empty, then the "path" attribute is set to the value of Path.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public string Path { get; set; }
member this.Path : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.Path : string with get, set
Public Property Path As String

Property Value

Attributes

Applies to