Cookie.setPath

Specifies a path for the cookie to which the client should return the cookie.

<p> The cookie is visible to all the pages in the directory you specify, and all the pages in that directory's subdirectories. A cookie's path, for example, <i>/catalog</i>, which makes the cookie visible to all directories on the server under <i>/catalog</i>.

<p> Consult RFC 2109 (available on the Internet) for more information on setting path names for cookies.

More...
class Cookie
void
setPath
(
string uri
)

Detailed Description

@param uri a <code>string</code> specifying a path

@see #getPath

Meta