Login   Register  
PHP Classes
elePHPant
Icontem

DB Sessions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of justin fielding
Name: justin fielding <e-mail contact>
Packages: 1 Browse all classes by justin fielding Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 32
All time rank: 121154 in United Kingdom United Kingdom
Week rank: 2173 Down87 in United Kingdom United Kingdom Down


  Detailed description   Download .zip .tar.gz  
This package is meant to act a session manager handler using as container a database accessed using PEAR::DB package rather than using the default container which is based on files.

This can be useful for instance to store user session data of sites served using load balanced array of Web servers.

Simply include the class file, create a new instance of the class passing a PEAR::DB object.

You can now use PHP sessions as usual but the session data will be stored in your database.

Notice that there are some known problems using this method with one build of PHP 4.2.2, due to what seems to be a bug in the session_set_save_handler function. If you are using this PHP version your are recommended to upgrade.

  Classes of justin fielding  >  DB Sessions  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: DB Sessions
Base name: dbsessions
Description: Manage sessions storing in a database with PEAR DB
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 2145 users
All time rank: 1635
Week users: 0 users
Week rank: 2029 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (75.0%)
Sufficient (68.8%)
-
Sufficient (68.8%)
-
-
Not sure (51.2%)
1449
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of invoking sessions
Plain text file sessionclass.php Class Class source
Accessible without login Plain text file sessions.sql Data SQL to create your sessions table in mySQL

Download all files: dbsessions.tar.gz dbsessions.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.