Changeset 1972187
- Timestamp:
- 11/10/2018 03:29:54 PM (7 years ago)
- Location:
- shieldfy
- Files:
-
- 2 edited
-
tags/3.6/shieldfy.client.php (modified) (2 diffs)
-
trunk/shieldfy.client.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shieldfy/tags/3.6/shieldfy.client.php
r1972157 r1972187 1145 1145 if(!file_exists($session_cache_file)){ 1146 1146 $this->sessionID = md5(time() * mt_rand()); 1147 $result = $this->callApi("session ",array(1147 $result = $this->callApi("session/start",array( 1148 1148 'host' => $_SERVER['HTTP_HOST'], 1149 1149 'sessionId' => $this->sessionID, … … 1158 1158 }else{ 1159 1159 $this->sessionID = file_get_contents($session_cache_file); 1160 $result = $this->callApi("session/step",array('sessionId'=> $this->sessionID,'host'=> $_SERVER['HTTP_HOST'] , 'info'=> array('code'=>http_response_code(),'time'=>time(), 'method'=> $_SERVER['REQUEST_METHOD'] , 'uri' => $_SERVER['REQUEST_URI']))); 1160 1161 } 1161 1162 -
shieldfy/trunk/shieldfy.client.php
r1972146 r1972187 1145 1145 if(!file_exists($session_cache_file)){ 1146 1146 $this->sessionID = md5(time() * mt_rand()); 1147 $result = $this->callApi("session ",array(1147 $result = $this->callApi("session/start",array( 1148 1148 'host' => $_SERVER['HTTP_HOST'], 1149 1149 'sessionId' => $this->sessionID, … … 1158 1158 }else{ 1159 1159 $this->sessionID = file_get_contents($session_cache_file); 1160 $result = $this->callApi("session/step",array('sessionId'=> $this->sessionID,'host'=> $_SERVER['HTTP_HOST'] , 'info'=> array('code'=>http_response_code(),'time'=>time(), 'method'=> $_SERVER['REQUEST_METHOD'] , 'uri' => $_SERVER['REQUEST_URI']))); 1160 1161 } 1161 1162
Note: See TracChangeset
for help on using the changeset viewer.