Click or drag to resize

CookiePath Property

Gets the path on the server to which the browser returns this cookie. The cookie is visible to all sub-paths on the server.

Namespace:  DotNetBrowser.Cookies
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.26.2
Syntax
C#
public string Path { get; }

Property Value

Type: String
The path on the server, for example, /catalog.
Remarks

Path indicates a URL path that must exist in the requested URL in order to send the Cookie header. The %x2F ("/") character is considered a directory separator, and subdirectories will match as well.

For example, if Path=/docs is set, these paths will match:

  • /docs
  • /docs/Web/
  • /docs/Web/HTTP

See Also