public function setCookie($variable, $value)
    {
        if (!empty($value)) {
            $this->cookieParams[$variable] = $value;
            return;
        }

        unset($this->cookieParams[$variable]);
    }