SetCookieHeaderValue.Path Property

Definition

Gets or sets a value for the Path cookie attribute.

The path attribute specifies those hosts to which the cookie will be sent.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public:
 property Microsoft::Extensions::Primitives::StringSegment Path { Microsoft::Extensions::Primitives::StringSegment get(); void set(Microsoft::Extensions::Primitives::StringSegment value); };
public string Path { get; set; }
public Microsoft.Extensions.Primitives.StringSegment Path { get; set; }
member this.Path : string with get, set
member this.Path : Microsoft.Extensions.Primitives.StringSegment with get, set
Public Property Path As String
Public Property Path As StringSegment

Property Value

Remarks

See https://tools.ietf.org/html/rfc6265#section-4.1.2.4.

Applies to