Example #1
0
 private static function _create_session()
 {
     self::$_system_session = SystemSession::add($_SESSION);
     self::$_data_hash = md5(serialize($_SESSION));
     setcookie(Config::get('COOKIE_NAME'), self::$_system_session->getSessionId(), time() + 31536000, '/');
 }