Team LiB
Previous Section Next Section

A MySQLi Session Handler

As a final note to using the new MySQLi chapter, let's take a look at a common application of MySQL in general by pulling together what we learned about sessions in Chapter 6, "Persistent Data Using Sessions and Cookies," and objects in Chapter 13, "Object-Oriented Programming in PHP." Specifically, in this section I'll be walking you through the steps involved in making a custom session-handling session using MySQL as the back end.

    Team LiB
    Previous Section Next Section