 |
|
Innovation award
 Nominee: 1x |
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.
|
|
| Name: |
Zebra_Session, a wrapper for PHP’s default session handling functions, using MySQL for storage |
| Base name: |
phpsessions |
| Description: |
Session handler that stores session data in MySQL |
| Version: |
1.0.8 |
| PHP version: |
4.4.9 |
| License: |
GNU General Public License (GPL) |
| All time users: |
3635 users |
| All time rank: |
784 |
| Week users: |
8 users |
| Week rank: |
269  |
| |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (75.0%) |
Sufficient (68.8%) |
Not sure (50.0%) |
Sufficient (68.8%) |
- |
- |
Not sure (56.2%) |
1094 |
| Month: |
Not yet rated by the users |
| Link |
Description |
| Proper Session Handling |
In PHP, sessions are pretty easy to work with since it just involves doing a few lines of code; initialize the session, define a session variable, then calling it back when you need it... |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|