Team LiB
Previous Section Next Section

Chapter 17: Session Basics

Overview

Sessions are like cookies on steroids. Using sessions, you can maintain user-specific information without setting multiple cookies, or even using a database. In this chapter, you learn how to:

  • Start a session

  • Add a variable to the $_SESION superglobal

  • Enable a per-user access count

  • Maintain user preferences throughout multiple pages


Team LiB
Previous Section Next Section