DB_eSession is a feature-packed PHP class that stores
session data in a MySQL database rather than files. It is
powerful, designed with security in mind, and is easy to utilize.
The code contains lots of comments, and it comes with full
documentation and examples of how to use the class including
a basic authentication login/logout process. It includes member
functions useful (to webmasters) for monitoring or viewing,
deleting, and altering sessions validity for the case of locking
one or more sessions upon detection of unauthorized use.