Im busy building a Phonegap app that connects with my Drupal rest server (Module: Services). My Drupal website (PHP) has the code: header('Access-Control-Allow-Origin: *');
When I'm trying to connect to my Rest server with the following code: http://pastebin.com/xfygQexn I'm getting the following console message: Refused to set unsafe header "Cookie"
Code: http://pastebin.com/FNGgPQKv Error: Refused to set unsafe header "Cookie"
Is anyone familiar with this problem?
Many thanks.
Im needing the token and the session for a logout call.