Приглашаем посетить
Радищев (radischev.lit-info.ru)

Appendix F. Managing Sessions in theDatabase Tier

Previous Table of Contents Next

Appendix F. Managing Sessions in theDatabase Tier

In Chapter 10, we discussed the development of session-based applications using the PHP session management features. In this appendix, we briefly explain how to create your own, alternative session storage functions that store session variables in a database. Specifically, this appendix covers:

  • Why you might want to replace the default PHP session storage layer with customized functions using the database tier

  • How to write user-defined PHP session storage handlers

  • How to create and install a fully functional set of PHP handlers that use a table in a MySQL database to store session variables

    Previous Table of Contents Next