[OmniFaces utilities] The
removeResponseCookie()method remove the cookie with given name and path from the HTTP response. Note that the name and path must be exactly the same as it was when the cookie was created.
Add a cookie with given name, value, path and maxage to the HTTP response.
// session cookie with explicit path
Faces.addResponseCookie("favorite_game", "Time Gap", "/mypath", -1);
Remove this cookie: