Cookie not saved in sencha touch 2 application
Upon receiving a server response with valid "set-cookie" value in my response header, application does not save the cookie. Rails server on heroku is setup for CORS (cross domain ajax requests). Access-Control-Allow-Credentials = True and methods = POST, GET. Login request, for which the response contains set-cookie, is as follows: Ext.Ajax.request({ url: 'http://myurl/log_user_in.json', params: { username: user, password: pass, app_id: id }, method: "POST" }); Need help on why the application does not save the cookie. ie. executing document.cookie , after getting "set-cookie" results in