QueryAllSessions

From NETIM
Jump to: navigation, search


Release
API >= 2.0


Description

Returns all active sessions linked to the reseller account.

StructSessionInfo[] queryAllSessions(string idSession)


Parameters

Format Variable Description
string (32) idSession Session ID


Return

An array of StructSessionInfo


Notes

None


Examples

PHP

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

Variants
Actions
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous