PHP Classes

mk_db_session: Store and retrieve session variables in database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,148 All time: 3,293 This week: 488Up
Version License Categories
mk_db_session 1.0GNU General Publi...Databases, User Management
Description 

Author

This class can be used to store and retrieve session variables in an SQL database.

It can be used as a replacement of the PHP built-in session management extension, but it does not depend on that extension.

It uses the PEAR::DB API, so it can work with different types of database.

It can create a new session, if one does not exist.

It can also add, remove session variables and set and get their values.

Picture of Mariusz Kaczmarczyk
Name: Mariusz Kaczmarczyk <contact>
Classes: 2 packages by
Country: Poland Poland

  Files folder image Files (3)  
File Role Description
Plain text file mk_db_session.inc.php Class Main class file
Accessible without login Plain text file index.php Example Sample file using database session
Accessible without login Plain text file mysql-tables.sql Data Create MySQL tables structure for session storage

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,148
This week:0
All time:3,293
This week:488Up