private function assignSessionLifetime()
    {
        if (isset($this->configurations['lifetime'])) {
            $lifetime = $this->configurations['lifetime'];
            ini_set('session.gc_maxlifetime', $lifetime * 1.2);
            session_set_cookie_params($lifetime);
        }
    }
private function assignSessionLifetime()
    {
        if (isset($this->configurations['lifetime'])) {
            $lifetime = $this->configurations['lifetime'];
            ini_set('session.gc_maxlifetime', $lifetime * 1.2);
            session_set_cookie_params($lifetime);
        }
    }
private function assignSessionLifetime ( ) { if ( isset ( $ this -> configurations [ 'lifetime' ] ) ) { $ lifetime = $ this -> configurations [ 'lifetime' ] ; ini_set ( 'session.gc_maxlifetime' , $ lifetime * 1.2 ) ; session_set_cookie_params ( $ lifetime ) ; } }
Registers a different session lifetime if configured. Assigns the
gc_maxlifetime with a little more time to make sure the client cookie
expires before the server garbage collector.
Registers a different session lifetime if configured . Assigns the gc_maxlifetime with a little more time to make sure the client cookie expires before the server garbage collector .