Zebra_Session

Software Screenshot:
Zebra_Session
Software Details:
Version: 2.1.1
Upload Date: 14 Apr 15
Developer: Stefan Gabos
Distribution Type: Freeware
Downloads: 16
Size: 16 Kb

Rating: 3.5/5 (Total Votes: 2)

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.

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

What is new in this release:

  • This version makes use of a feature introduced in PHP 5.1.0 for the "regenerate_id" method.

What is 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.

What is new in version 2.0.2:

  • Fixed a bug with the get_active_sessions() method which was not working at all;
  • Fixed a bug where the script was not using the provided MySQL link identifier (if available);

What is new in version 2.0.1:

  • The constructor method now accepts an optional link argument which must be a MySQL link identifier. By default, the library made use of the last link opened by mysql_connect(). On some environments (particularly on a shared hosting) the "last link opened by mysql_connect" was not available at the time of the instantiation of the Zebra_Session library. For these cases, supplying the MySQL link identifier to the constructor method will fix things.
  • Some documentation refinements.

What is new in version 2.0:

  • The class now implements session locking.
  • Session locking is a way to ensure that data is correctly handled in a scenario with multiple concurrent AJAX requests.

What is new in version 1.0.8:

  • Fixed a small bug in the destroy method; thanks to Tagir Valeev for reporting;
  • The script would trigger a PHP notice if the HTTP_USER_AGENT value was not available in the $_SERVER super-global;
  • Added a new method "get_settings" that returns the default session-related settings for the environment where the class is used.

Requirements:

  • PHP 5.1 or higher
  • MySQL 4.1.22 or higher

Similar Software

Other Software of Developer Stefan Gabos

Zebra_Form
Zebra_Form

9 Feb 16

Zebra_Dialog
Zebra_Dialog

9 Feb 16

Zebra_Datepicker
Zebra_Datepicker

9 Feb 16

Zebra_Cookie
Zebra_Cookie

10 Feb 16

Comments to Zebra_Session

Comments not found
Add Comment
Turn on images!