====== CookieHandler::SetPath() ======
----
===== Definition =====
Sets the valid path of the cookie, if it should differ from the one set in the Constructor [[libraries:cookiehandler:cookiehandlerclass:construct|__construct()]].
void SetPath ( [$Path = ''] )
===== Parameters =====
* **$Path** //String (optional)// \\ Path valid for this cookie. If no parameter is given, '' is set. If the path doesn't start with '/', it's added automatically.
===== Example =====
$Cookie = new CookieHandler("Testcookie");
$Cookie->SetPath("/subpage");
~~NOTOC~~