public function setName($sName)
    {
        if (!empty($sName)) {
            if (!is_numeric($sName)) {
                @session_name($sName);
            } else {
                throw new Exception('The session name can\'t consist only of digits, '
                .'at least one letter must be presented.');
            }
        } else {
            throw new Exception('Empty session name value was passed.');
        }
    }