PHP Classes
Icontem

Class: Distributed Session Manager


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Robin Schuil  >  Distributed Session Manager  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Distributed Session Manager Support forum
Base name: phpdsm
Description: Manage sessions using distributed MySQL servers
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1279 users
All time rank: 2053
Week users: 1 user
Week rank: 3737
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Robin Schuil
Name: Robin Schuil <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Home page: http://lunchpauze.blogspot.com/
Age: 26
All time rank: 928
Week rank: 836

Innovation Award

PHP Programming Innovation award nominee
August 2006
Number 7
By default, user access session data is stored in files. However, in a clustered server environment, file storage is not very convenient.

Even when files are available to all cluster servers via a networked file system, it may cause data corruption if the session files are not locked from concurrent accesses. Networked file system locks may cause excessive delays.

This class provides an alternative solution by distributing session data storage using a MySQL database. It avoids some of the inconveniences of the concurrent accesses to session data stored in a networked file system.

Manuel Lemos

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

Detailed description

This class can be used as a replacement to the default PHP session manager class to store and retrieve sessions in distributed MySQL servers.

The class retrieves a list of MySQL server hosts from a configuration file in the INI format.

A random host is picked from the list to connect when it is necessary execute MySQL queries to store, retrieve, update or delete session data.

The MySQL server host connection timeout is set to a configurable value, so the class can skip a busy server and try connecting the next host in the list.

The session data may be stored on multiple servers at once to provide greater redundancy.

User ratings

There are not enough user ratings to display for this class.

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

File Role Description
Plain text file sessionmanager.php Class The Session Manager class
HTML file phpdsm.html Doc. Documentation
Image file sessions.png Screen Illustration
Download all files: phpdsm.tar.gz phpdsm.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products