auth

CakePHP Auth Component – Will You Remember Me Tomorrow?

This is the third installment of my Auth Component Tutorial. This tutorial builds on the first installment, so make sure you grab the download file: CakePHP Auth 1 (4.3 KiB, 18,444 hits) You’ll find it on almost every popular web site’s login page; a nice lil' checkbox that says “Remember Me”. It seems to have become a basic addition to any page with a login form. Generally, when a user logs into a web site, he’s logged in until his session expires.

CakePHP Auth Component – Tutorial Two

This is the second installment of my Auth Component Tutorial. I included a link to download a file for during the first installment: CakePHP Auth 1 (4.3 KiB, 18,444 hits) I just think that some of the stuff in there warrants some explanation. isAuthorized() This function is needed when $this-Auth->authorize = ‘controller’. Theory has it, you can do something similar in app_model if $this-Auth->authorize = ‘model’, but I haven’t looked into this.

CakePHP Auth Component For Dummies Tutorial

First off, I would like to say much thanks to Gwoo for finally helping me to understand this thing. So I know what you’re thinking; I’m probably the last person to finally figure out the CakePHP’s Auth Component. For the past few months, I’ve been using obAuth because that’s the only authentication I could get to work with CakePHP. I think that I was just making it more difficult than it should have been.