PHP Classes
elePHPant
Icontem

PHP MySQLi Session Handler: Store sessions in a database using MySQLi

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-10-31 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 633 All time: 4,906 This week: 344Up
Version License PHP version Categories
dbsh 1.0.0BSD License5PHP 5, Databases, User Management
Description Author

This class is a session handler that store sessions in a database using the MySQLi.

It can register as a session handler with functions to open, close, read, write, destroy and garbage collect sessions.

The main class uses another class that stores and retrieves session records from a given MySQL database table using the MySQLi extension.

Recommendations

Assign and lookup sessions
Sessions class or equivalent

Name: Mohammad Mostafa ... <contact>
Classes: 6 packages by
Country: Iran Iran
Age: 36
All time rank: 9046 in Iran Iran
Week rank: 276 Up4 in Iran Iran Up

  Files folder image Files  
File Role Description
Plain text file class.DB.php Class Database Wrapper Class
Plain text file class.DBSessionHandler.php Class Database Session Handler Class
Accessible without login Plain text file index.php Example Example Script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:633
This week:0
All time:4,906
This week:344Up
User Comments (1)
Excellent, the most necessary!
2 years ago (Sergey)
70%StarStarStarStar