I’m doing my first phonegap app and I run into login problem. I have an appLogin action in the site controller and I know it reaches the controller’s action and logs in - anyway the credentials get validated and login is successful. But the ajax call in app fails to get response. If I comment out the login part and just echo something the ajax call is succesful and receives the response. I know I’m probably missing something basic regarding authentication. What is it?
the code snippets you can see here: