Service 3 is loggin my user off when anonymous requests are made by javascript.

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
nakeddesign's picture

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:

bgm's picture

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.

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: