PHP Classes

Classes of justin fielding

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of justin fielding (1)  >  Mission progress status  >  Reputation  
Picture of justin fielding
Name: justin fielding <contact>
Classes: 1
Country: United Kingdom
Age: 43
All time rank: 139564 in United Kingdom
Week rank: 216 Up13 in United Kingdom Up
All time users: 2192
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image DB Sessions  
Manage sessions storing in a database with PEAR DB
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.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 75% 68% - 68% - - 51% 2562
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z