PHP Classes

mk_db_session: Store and retrieve session variables in database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-17 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,107 All time: 3,211 This week: 1,029Up
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
Age: 34
All time rank: 135335 in Poland Poland
Week rank: 1531 Down38 in Poland Poland Down

  Files folder image Files  
File Role Description
Plain text file 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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,107All time:3,211
 This week:0This week:1,029Up