Hi everyone,
I'm currently writing an iPhone Application to sign in to Drupal with Services. When I login, I get an XML object with all the correct information, but when I try to make any subsequent actions e.g. user.logout or user.get it says that the user is not logged in. Although I'm passing on the correct Sesssion ID. After looking into the "sessions" table in the database I saw that the session ID is created but instead of the uid of the signed-in user there is the value "0"
Exact the same thing happens when I go to http://mydomain.com/admin/build/services/browse/user.login when I am not logged-in and enter a user + a password. I get the correct XML result (with uid etc.) but when I click somewhere else I'm immediately logged out. Also the database entry is the same as if I log in from my iPhone app. (Again with a 0 for uid) If I manually change that value the user keeps being logged in.
Every help is very much appreciated. I'm using version 6.x-2.4 of Services on Drupal 6.19 running on PHP Version 5.2.12, Apache 2.0, Linux.
Thanks,
Stephan