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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,802 All time: 2,178 This week: 455Up
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.

Picture of Christian Zinke
Name: Christian Zinke <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 106768 in Germany Germany
Week rank: 360 Up12 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  
 0%
Total:1,802
This week:0
All time:2,178
This week:455Up