Author: Manuel Lemos
Viewers: 223
Last month viewers: 1
Categories: Notable Packages
By default PHP stores information of session variables in files, but applications can provide their own session handlers and store session data in other storage containers like databases. It is common to store session data in MySQL databases.
One issue to be concerned with sessions is that only one script can change session data at a time of a given user.
For databases, transactions could be used to prevent that multiple scripts try to change the same user session data in a way that could cause inconsistency.
However, the use of sessions may cause that the table that contains session data records locks the access to session records of all users.
This class provides a better solution by using row level locking, thus allowing that session records of different users be changed at the same time by different scripts.
Read this article to learn more details about how this notable PHP package works.
One issue to be concerned with sessions is that only one script can change session data at a time of a given user.
For databases, transactions could be used to prevent that multiple scripts try to change the same user session data in a way that could cause inconsistency.
However, the use of sessions may cause that the table that contains session data records locks the access to session records of all users.
This class provides a better solution by using row level locking, thus allowing that session records of different users be changed at the same time by different scripts.
Read this article to learn more details about how this notable PHP package works.
The package PHP Session MySQL Handler is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Handler for storing session data in MySQL
Here follows in more detail what it does:
This class implements a handler for storing session data in MySQL.
This is class based on Zebra_Session from Stefan Gabos that registers session handler functions to store and retrieve session data from MySQL databases using MySQLi.
It uses row locks to lock only individual session database table records while the current script session is being accessed.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.
The basic purpose is: Handler for storing session data in MySQL
Here follows in more detail what it does:
This class implements a handler for storing session data in MySQL.
This is class based on Zebra_Session from Stefan Gabos that registers session handler functions to store and retrieve session data from MySQL databases using MySQLi.
It uses row locks to lock only individual session database table records while the current script session is being accessed.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.
You need to be a registered user or login to post a comment
1,616,107 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.