PHP Classes

Jack's Session class: Manage user access sessions stored in a database

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 2,298 All time: 1,698 This week: 107Up
Version License Categories
session_class5 1.0GNU General Publi...Databases, User Management


This class can be used to manage user access session information storing and retrieving in from a SQL database.

It can start a new sessions creating the respective database records, if the session identified cookie does not exist or the session is expired.
The class can also terminate a session deleting its database records, set the session expiry time, verify set, get and delete session values, update changed sessions.

The class uses a separate database access class to remain database independent.

Picture of RS
Name: RS <contact>
Classes: 2 packages by
Country: Bulgaria Bulgaria
Age: 36
All time rank: 9355 in Bulgaria Bulgaria
Week rank: 371 Up2 in Bulgaria Bulgaria Up

  Files folder image Files  
File Role Description
Plain text file session.class.php Class session class
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file example2.php Example show session catch->throw sintax
Accessible without login Plain text file session.sql Data session class database structure 5KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Jack's MySQL class Download .zip .tar.gz database handler for the session class Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,698
This week:107Up