CodeIgniter User Authentication Model

Article published Sunday, August 23rd, 2009 at 5:41 pm

Here is the source code for our user authentication model which we use in our CodeIgniter applications for interfacing with our users tables. Highly configurable to suit a variety of database schemas.

CodeVault CodeIgniter User Authentication Model

Please leave any feedback for the model on this blog post, not in the CodeVault!

Tags: ,

Category: PHP Tutorials

We don't only write awesome web development tutorials, we also build awesome web software! Check out NeoInvoice, a time tracking, issue ticket, invoice making web app! It's 100% free for our readers!

2 Responses to “CodeIgniter User Authentication Model”

  1. James Rohmer says:

    When running your authentication model I get the following error:

    Fatal error: Call to a member function generate_page_data() on a non-object in C:\htdocs5\CI_ION\system\application\controllers\login.php on line 11

    Any suggestions?

  2. It’s because you are using the default controller. You’ll want to modify the controller to perform whatever actions you require.

Leave a Reply