protected function configure() { $params = $this->getConfig(); if (!isset($params['lifetime'])) { $params['lifetime'] = ini_get('session.cookie_lifetime'); } // we should also implement path, domain, secure, and httponly here self::$engine = SessionFactory::getEngine($params); Session::start(); }
protected function configure() { $params = $this->getConfig(); self::$engine = SessionFactory::getEngine($params); }
static function saveChangesUnsafe() { SessionModule::getEngine()->saveChangesUnsafe(); }