Zebra_Session works as an alternative (or better say replacement) for PHP’s built-in session handling system.
By default, PHP uses a flat file on the server to store session details and a cookie file on the user's PC to identify the correct owner of that session data.
Zebra_Session works the same way, only instead of flat-files it uses a MySQL database to store the session data.
This is done mainly for better speed and performance, and is also a much secure way to handle sessions as well.
Here are some key features of "Zebra_Session":
- Scalable across multiple servers, applications and services
- Drop-in replacement, no need to change application code
- Support for row locks and AJAX operations
- Error reporting
- Commented code
- Fixed a bug where sessions’ life time was twice longer than expected.
- Details on how to preserve session data across subdomains was added to the documentation.
- The messages related database connection errors are now more meaningful.