Click or drag to resize

CookieBuilderPath Property

Gets or sets 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.27.3
Syntax
C#
public string Path { get; set; }

Property Value

Type: String
The path on the server, for example, /catalog.
Exceptions
ExceptionCondition
ArgumentException The value is null, empty or blank.
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