Managing Sessions in the Database Tier
In Chapter 8 we discussed the development of session-based applications using the PHP session management features. In this appendix, we:
-
Discuss the motivation for storing session variables in the database tier of a web database application
-
Show how PHP session handlers are written to implement user-defined methods
-
Develop a fully functional set of PHP handlers that use a table in a MySQL database to store session variables