Helping you solve those tough coding problems!
Learn some great web development and web design tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | css | jquery-development | sql | ajax | php-development

Search:
Follow @endyourif rss Facebook LinkedIn

CakePHP 2.x Login System CakePHP 2.x Login System

Published on Sep 18, 2012 by Jamie Munro

Well, since one of my most popular all-time blog posts is Login system with CakePHP in under 10 minutes I think it's time that I update it to version 2.x (currently 2.2 at the time of writing).  The original post was probably written for version 1.2 or 1.1 and there have been several changes made, especially with breaking changes to the AuthenicateComponent.

The beautiful part is the changes are extremely limited.  In fact, only the UsersController requires a few minor changes.

Read more >

Tags: CakePHP | AuthComponent | CakePHP Component | cakephp 2.0 | PHP | CakePHP

3 Flaws to CakePHP's AuthComponent 3 Flaws to CakePHP's AuthComponent

Published on Apr 10, 2009 by Jamie Munro

Good Friday to all.  Over the past several weeks I have been working a lot with the AuthComponent in CakePHP and have learned a couple of lessons that I wanted to share with you all.

The title calls them "flaws", but I suppose this isn't completely accurate, it depends how you look at it.  To me they are flaws because I assumed the AuthComponent worked one way, only to find out different.

Read more >

Tags: CakePHP | AuthComponent

Login system with CakePHP in under 10 minutes Login system with CakePHP in under 10 minutes

Published on Mar 23, 2009 by Jamie Munro

** If you've found this article through a Google search, visit my CakePHP 2.x Login System for an updated version of this article. **

In today's article, I am going to discuss how simple it is to setup a login system with CakePHP.  As the title says, it should be less than 10 minutes.  In theory if you copy and paste the code below, it should be fully functional in less than 5.

Ready, set, let's bake.

Read more >

Tags: CakePHP | AuthComponent | login | security