private function initSessionConfig():void
    {
        if (!defined("IUMIO_ENV")) {
            throw new Server500(new \ArrayObject(array("explain" => "Framework Environment is not defined",
                "solution" => "Please initialize the framework environment")));
        }
        if (false === Server::exist(IUMIO_ROOT."/elements/cache/".strtolower(IUMIO_ENV)."/sessions")) {
            Server::create(IUMIO_ROOT."/elements/cache/".
                strtolower(IUMIO_ENV)."/sessions", "directory");
        }

        $this->id = session_id();
        $this->name = session_name();
        if (!$this->isStarted()) {
            session_save_path(IUMIO_ROOT . '/elements/cache/' . strtolower(IUMIO_ENV) . '/sessions');
            ini_set('session.gc_probability', 1);
        }
    }
private function initSessionConfig():void
    {
        if (!defined("IUMIO_ENV")) {
            throw new Server500(new \ArrayObject(array("explain" => "Framework Environment is not defined",
                "solution" => "Please initialize the framework environment")));
        }
        if (false === Server::exist(IUMIO_ROOT."/elements/cache/".strtolower(IUMIO_ENV)."/sessions")) {
            Server::create(IUMIO_ROOT."/elements/cache/".
                strtolower(IUMIO_ENV)."/sessions", "directory");
        }

        $this->id = session_id();
        $this->name = session_name();
        if (!$this->isStarted()) {
            session_save_path(IUMIO_ROOT . '/elements/cache/' . strtolower(IUMIO_ENV) . '/sessions');
            ini_set('session.gc_probability', 1);
        }
    }
private function initSessionConfig ( ) : void { if ( ! defined ( "IUMIO_ENV" ) ) { throw new Server500 ( new \ ArrayObject ( array ( "explain" => "Framework Environment is not defined" , "solution" => "Please initialize the framework environment" ) ) ) ; } if ( false === Server :: exist ( IUMIO_ROOT . "/elements/cache/" . strtolower ( IUMIO_ENV ) . "/sessions" ) ) { Server :: create ( IUMIO_ROOT . "/elements/cache/" . strtolower ( IUMIO_ENV ) . "/sessions" , "directory" ) ; } $ this -> id = session_id ( ) ; $ this -> name = session_name ( ) ; if ( ! $ this -> isStarted ( ) ) { session_save_path ( IUMIO_ROOT . '/elements/cache/' . strtolower ( IUMIO_ENV ) . '/sessions' ) ; ini_set ( 'session.gc_probability' , 1 ) ; } }
Init the session configuration
@throws Server500
@throws \Exception
@return void
Init the session configuration