PHP Classes

Session Handler Class: Manage sessions stored in a MySQL database

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-03-12 (10 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,788 All time: 2,168 This week: 310Up
Version License PHP version Categories
session_handler 1.0BSD License3.0PHP 5, Databases, User Management
Description Author

This class can be used to manage sessions stored in a MySQL database.

It can store the identifier of a given authenticated user and a session data string in a MySQL database table.

The class can also retrieve the user identifier and the session data string into session variables.

It can also delete specific user sessions from the MySQL database table or just the sessions that have expired.

A separate table keeps track of the time when it is necessary to do session maintenance that is handled by a configurable PHP script.

Name: Christian Zinke <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 105465 in Germany Germany
Week rank: 784 Up30 in Germany Germany Up


  Files folder image Files  
File Role Description
Accessible without login Plain text file cron.php Example Cron Example
Accessible without login Plain text file index.php Example Example-index
Plain text file session_handle.php Class Session_Handler

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,168
This week:310Up