Neos\Flow\Http\AbstractMessage::removeCookie PHP Method

removeCookie() public method

This is a shortcut for $message->getHeaders()->removeCookie($name); Note: This will remove the cookie object from this Headers container. If you intend to remove a cookie in the user agent (browser), you should call the cookie's expire() method and _not_ remove the cookie from the Headers container.
public removeCookie ( string $name ) : void
$name string Name of the cookie to remove
return void
    public function removeCookie($name)
    {
        $this->headers->removeCookie($name);
    }