Example #1
0
 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();
 }
Example #2
0
 protected function configure()
 {
     $params = $this->getConfig();
     self::$engine = SessionFactory::getEngine($params);
 }
Example #3
0
 static function saveChangesUnsafe()
 {
     SessionModule::getEngine()->saveChangesUnsafe();
 }