Share via


HttpCookie.Path Property

Definition

Get the URI path component to which the HttpCookie applies.

public:
 property Platform::String ^ Path { Platform::String ^ get(); };
winrt::hstring Path();
public string Path { get; }
var string = httpCookie.path;
Public ReadOnly Property Path As String

Property Value

String

Platform::String

winrt::hstring

The URI path component to which the HttpCookie applies.

Remarks

The Path property specifies the subset of paths on the origin server to which this HttpCookie applies. If this property is not specified, the default path matches any path and the HttpCookie will be sent on all HTTP requests to the Domain.

Applies to