Some years ago PHP had a set of different API interfaces for each supported database.
In my PHP projects i implemented this simple library called DBLib. This PHP library provided a single API interface to different database operations.
DbSession instead was a PHP library to store the PHP’s user session data into any database supported via DBLib instead of the PHP’s default filesystem storage.
Both DbLib and DbSession are available at http://www.badpenguin.org/pub/software/php: DbLib and DbSession,