Get session information

				
					StructSessionInfo sessionInfo(string idSession)
				
			

Return the information of the requested session.

REQUIRED

  • idSession string (32)
    Session ID

An Object of type StructSessionInfo

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN");
 
      $StructSessionInfo= $clientSOAP->sessionInfo($idSession); 
 
      print_r($StructSessionInfo);   
 
      $clientSOAP->sessionClose($idSession); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 

if (isset($idSession)) { $clientSOAP->sessionClose($idSession); }   ?>