Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logging out of webservice: Authentication required
I can succesfully log in to the webservice from a remote app, but so far no luck logging out. I get the following message:

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.

Forum Jump:

Users browsing this thread: 1 Guest(s)