Ejemplo n.º 1
0
 public static function keepSession()
 {
     if (array_key_exists('HPROSE_COOKIE_MANAGER', $_SESSION)) {
         self::$cookieManager = $_SESSION['HPROSE_COOKIE_MANAGER'];
     }
     register_shutdown_function(array('HproseBaseHttpClient', 'hproseKeepCookieInSession'));
 }
Ejemplo n.º 2
0
 public function __construct($url = '')
 {
     parent::__construct($url);
     $this->curl = curl_init();
 }