logout function always returns false
Here is an example
<?php
$username = 'user1';
$password = 'user1';
$soap_location = 'http://server1:8080/remote/index.php';
$soap_uri = 'http://server1:8080/remote/';
$client = new SoapClient(null, array('location' => $soap_location,
'uri' => $soap_uri,
'trace' => 1,
'exceptions' => 1));
if($session_id = $client->login($username,$password)) {
echo 'Logged successfull. Session ID:'.$session_id."\n";
}
$lo=$client->logout($session_id);
var_dump($lo);
if($lo) {
echo 'Logged out.<br />';
}
?>
Output: Logged successfull. Session ID:c177e8b8c2f00104fe7947c5e190bd2c bool(false)
At the same time the corresponding record is properly deleted from the 'remote_session' table.