Login   Register  
PHP Classes
elePHPant
Icontem

DcSessionManager : Manage sessions using a MySQL table to store data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-05-11 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,119 All time: 3,105 This week: 1,410Up
Version License Categories  
dcsessionmanager 1.0GNU General Public Lice...User Management
Description Author  

This class is meant to manage sessions storing the information about their state in a MySQL database table.

It generates an hash with 64 characters that is used to identify each session and may be passed between pages using cookies or request variables.

This class has security in mind, providing means to prevents session hijack by using 2 hashes (double crypted) in only one "session".

You can store more than 5kbytes of data in each session.

The class provides other features, like:

- Explicitly creating and destroing session
- Register and deleting a session value
- Check if a session key value is assigned

Picture of Guilherme Blanco
Name: Guilherme Blanco is available for providing paid consulting. Contact Guilherme Blanco .
Classes: 5 packages by
Country: Brazil Brazil
Age: 31
All time rank: 20614 in Brazil Brazil
Week rank: 1909 Down143 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file dcSessionManager.inc.php Class Class of the environment
Accessible without login Plain text file README.txt Doc. Class documentation
Accessible without login Plain text file setup.sql Data MySQL Table
Accessible without login Plain text file test_case1.php Example First example of usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,119All time:3,105
 This week:0This week:1,410Up