I can succesfully log in to the webservice from a remote app, but so far no luck logging out. I get the following message:
I'm not sure what I'm missing here..
I found the problem, logout requires the webservice session ID, but since I'm on a new page, I had to store the session ID in the browser session and reset it on the new $client instance.
PHP Code:
array(2) { ["success"]=> bool(false) ["error"]=> array(2) { ["code"]=> string(23) "AUTHENTICATION_REQUIRED" ["message"]=> string(23) "Authentication required" } }
I'm not sure what I'm missing here..
I found the problem, logout requires the webservice session ID, but since I'm on a new page, I had to store the session ID in the browser session and reset it on the new $client instance.