Posted by nakeddesign on May 15, 2012 at 2:03pm
Drupal 6 / Services 3
Today I have successfully created my 1st services 3 retrieve API function. However I am finding that when the request is made the user is logged off.
Previously I was doing the exact same process using menu hooks returning JSON data instead of service URL's. This approach worked very well, but I wanted to make it more robust.
Here's what happens:
Login to drupal as admin.
Browse to a form that has some javascript to pull the data via api - $.getJSON(url/identifier/param.json)
Data is returned as expected.
Try to browse to any other page and discover I am no longer logged in.
Is this expected behaviour - How can I resolve.
Comments
Seems related to:
Seems related to: http://drupal.org/node/1240074
I applied the patch in #54, since I have a rather simple use-case, but the issue does not seem to be resolved yet.