$cjar
->clear ( [domain
, [path
, [key
] ] ])
Without arguments, this method clears the entire contents of the cookie jar. Given arguments, cookies belonging to a specific domain , path , or with a name, key , will be cleared. The arguments are ordered for increasing specificity. If only one argument is given, all cookies for that domain will be deleted. A second argument specifies a distinct path within the domain . To remove a cookie by keyname, you must use all three arguments.