Re: Web service login function to check authenticate user in cakephp

2014-10-14 Thread John Andersen
The error message clearly states that the issue is with the missing Posts controller. But you states that the method is in the Users controller. Check your code. Enjoy, John On Saturday, 11 October 2014 00:33:54 UTC+3, Sam wrote: I am writing a web service to authenticate whether a user login

RE: Web service login function to check authenticate user in cakephp

2014-10-11 Thread Saran
service login function to check authenticate user in cakephp There is a good chance that the error is not here, but in the code what calls this. So please show the code which calls calls the webservice. rrd 2014.10.11. 3:56 ezt írta (Sam lightai...@gmail.com): It is cakephp 2.5 On Saturday

Web service login function to check authenticate user in cakephp

2014-10-10 Thread Sam
I am writing a web service to authenticate whether a user login is valid or not. Below is a simple implementation of the web service placed inside UsersController.php public function webservice_login() { $this-autoRender = false; if ($this-request-is('post')) { if

Re: Web service login function to check authenticate user in cakephp

2014-10-10 Thread Sam
It is cakephp 2.5 On Saturday, October 11, 2014 9:53:21 AM UTC+8, Matthew Kaufman wrote: Is this Cake 2.6 or 3? On Fri, Oct 10, 2014 at 5:33 PM, Sam light...@gmail.com javascript: wrote: I am writing a web service to authenticate whether a user login is valid or not. Below is a simple

Re: Web service login function to check authenticate user in cakephp

2014-10-10 Thread Radharadhya Dasa
There is a good chance that the error is not here, but in the code what calls this. So please show the code which calls calls the webservice. rrd 2014.10.11. 3:56 ezt írta (Sam lightai...@gmail.com): It is cakephp 2.5 On Saturday, October 11, 2014 9:53:21 AM UTC+8, Matthew Kaufman wrote: Is