PHP Classes

Classes: User Management

Recommend this page to a friend!
  All class groups  >  User Management (441)  >  Top rated classes  

User Management

User records, authentication and session handling.


  A   B   C   D   E   F   G   H   I   J   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  1 - 20   ...   301 - 320   321 - 340   341 - 360   361 - 380   381 - 400   401 - 420   421 - 440   441 - 441  
  Files folder image Zebra_Session, a wrapper...  
Author: Stefan Gabos <e-mail contact>
Session handler that stores session data in MySQL
Zebra_Session is a PHP class that acts as a wrapper for PHP’s default session handling functions but instead of storing session data in flat files it stores them in a MySQL database, thus providing both better security and better performance.

The Zebra_Session class is also a solution for applications that are scaled across multiple web servers (using a load balancer or a round-robin DNS) and where the user’s session data needs to be available. Storing sessions in a database makes them available to all of the servers!

This class is was inspired by John Herren’s code from the Trick out your session handler article and Chris Shiflett’s code from his book Essential PHP Security, chapter 8, Shared Hosting, Pg. 78-80.

Zebra_Session‘s code is heavily commented and generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL.

  1 - 27   ...   244 - 270   271 - 297   298 - 324   325 - 351   352 - 378   379 - 405   406 - 432   433 - 441  
  A   B   C   D   E   F   G   H   I   J   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Return to top of the groups' hierarchy.