If you are looking for a third-party authentication library with a lot more features than the one we are able to build in a chapter in a book, may I recommend my own library—"The Authentication Library"—as an alternative.
The Authentication Library includes a secure 'remember me' function, which allows users to stay logged in without the possibility of their cookies being stolen or forged by malicious users to gain unauthorized access to your systems.
The best part of The Authentication Library is that all you need to do to use it is to extend a different Controller. Rather than extending the default
Controller
class, you would instead extend the
Application
class. You don't need to build any forms or process the forms—it is all taken care of for you. It is the easiest method of authentication for CodeIgniter, as you don't really need to do anything.
To find out more about The Authentication Library, you can read the User Guide I've written for it, at http://www...