Download List

Project Description

Zebra_Session is a PHP class that acts as a wrapper for PHP’s default session handling functions. 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, since storing sessions in a database makes them available to all of the servers. Zebra_Session‘s code is heavily commented and generates no warnings, errors, or notices when PHP’s error reporting level is set to E_ALL.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-01-03 04:16 Back to release list
1.0.8

This release fixes a small bug in the destroy method: the script would trigger a PHP notice if the HTTP_USER_AGENT value was not available in the $_SERVER super-global. It adds a new method “get_settings” that returns the default session-related settings for the environment where the class is used. The class will now trigger a fatal error if a database connection is not available. The class will now report if MySQL table is not available. The constructor of the class now accepts a new argument, tableName; with this, the MySQL table used by the class can be changed.

Project Resources