framework/web/Request.php
public function getCookie($name, $default = null)
    {
        $result = $default;

        if (isset($_COOKIE[$name])) {
            $result = $_COOKIE[$name];
        }

        return $result;
    }
public function getCookie($name, $default = null)
    {
        $result = $default;

        if (isset($_COOKIE[$name])) {
            $result = $_COOKIE[$name];
        }

        return $result;
    }
public function getCookie ( $ name , $ default = null ) { $ result = $ default ; if ( isset ( $ _COOKIE [ $ name ] ) ) { $ result = $ _COOKIE [ $ name ] ; } return $ result ; }
Get cookie's value by name

@param string $name
@param string $default
@return string
Get cookie s value by name