示例#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();
 }
示例#2
0
 protected function configure()
 {
     $params = $this->getConfig();
     self::$engine = SessionFactory::getEngine($params);
 }
示例#3
0
文件: Session.php 项目: rgigger/zinc
 static function saveChangesUnsafe()
 {
     SessionModule::getEngine()->saveChangesUnsafe();
 }