protected function _assertCookieRestriction()
    {
        $stat = false;
        if ( php_sapi_name() !== 'cli' ) {
            if ( headers_sent() )
                throw new \Exception('Headers was sent, cookies must be sent before any output from your script.');

            $stat = true;
        }

        if ( false === $stat )
            throw new \Exception('Session Cant Be Initialized.');
    }