protected function init()
    {
        // Set name
        if ($this->getOption('name')) {
            $this->bridge->setName(md5($this->getOption('name')));
        }

        // Set id
        if ($this->getOption('id')) {
            $this->bridge->setId($this->getOption('id'));
        }

        // Sync the session maxlifetime
        if (!headers_sent()) {
            ini_set('session.gc_maxlifetime', (string) ($this->getOption('expire_time') * 60));
        }

        $this->setCookieParams();
    }
protected function init()
    {
        // Set name
        if ($this->getOption('name')) {
            $this->bridge->setName(md5($this->getOption('name')));
        }

        // Set id
        if ($this->getOption('id')) {
            $this->bridge->setId($this->getOption('id'));
        }

        // Sync the session maxlifetime
        if (!headers_sent()) {
            ini_set('session.gc_maxlifetime', (string) ($this->getOption('expire_time') * 60));
        }

        $this->setCookieParams();
    }
protected function init ( ) { // Set name if ( $ this -> getOption ( 'name' ) ) { $ this -> bridge -> setName ( md5 ( $ this -> getOption ( 'name' ) ) ) ; } // Set id if ( $ this -> getOption ( 'id' ) ) { $ this -> bridge -> setId ( $ this -> getOption ( 'id' ) ) ; } // Sync the session maxlifetime if ( ! headers_sent ( ) ) { ini_set ( 'session.gc_maxlifetime' , ( string ) ( $ this -> getOption ( 'expire_time' ) * 60 ) ) ; } $ this -> setCookieParams ( ) ; }
Initialise Session params.

@return  void
Initialise Session params .