Re: Cakephp Login form with different database tables

2015-08-07 Thread Gaurav Kumar
Your distributors login submit looking for a 'distributor_login' method and that is missing 'DistributorsController'. On Friday, July 31, 2015 at 4:54:16 PM UTC+5:30, Asmat Quadeer wrote: > > I am trying to create a login form for different types of users like > > `Suppliers`, `Distributors`, `Ma

Re: NewBie

2015-08-07 Thread Gaurav Kumar
$this refers the class in which you are currently working. On Thursday, June 4, 2015 at 2:11:31 AM UTC+5:30, Kingston Abraham wrote: > > what is the difference between $this->request and $request-> > > do both convey same information > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find

Using a cookie for API authentication

2015-08-07 Thread Pliable Pixels
Hello, I am a complete cakephp beginner and have inherited some code that was developed by someone else. The code is a PHP based server that uses CakePHP 2.5 to also expose APIs. As of today, one can log into the server via login.php which in turn sets a cookie - ZMSESSID. The cakePHP APIs are