Zebra_Session 2.1.0

A lightweight PHP class to handle session data using a MySQL database, a much more secure system than using client-side cookies
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.

Main features:

  • Scalable across multiple servers, applications and services
  • Drop-in replacement, no need to change application code
  • Support for row locks and AJAX operations
  • Documentation
  • Error reporting
  • Commented code

last updated on:
August 15th, 2013, 13:11 GMT
developed by:
Stefan Gabos
license type:
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ PHP Classes


In a hurry? Add it to your Download Basket!

user rating 4



What's New in version 2.0.3
  • 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.
read full changelog

Add your review!