I created this class to present the public with an easy to use system for protecting pages and registering users. The main features are user-login, user registration, user update, remember login information, page protection, forgotten password recovery, mail based account activation and multi-language message reporting.
This class implements a new PHP session handler that can replace the default PHP session handler by storing session data in a MySQL database table. The session handler works by creating an object of this class. After that, applications just need to use the same code to store and retrieve session variables.