CHAPTER 18Session Handlers

These days, using HTTP sessions to track persistent information such as user preferences within even the simplest of applications is more the rule than the exception. Therefore, no matter whether you are completely new to Web development or are a grizzled veteran hailing from another language, you should take time to carefully read this chapter.

Available since the version 4.0 release, PHP's session-handling capabilities remain one of the coolest and most discussed features. In this chapter you'll learn all about the feature, including:

  • Why session handling is necessary, and useful
  • How to configure PHP to most effectively use the feature
  • How to create and destroy sessions, and manage session variables
  • Why you might ...

Get Beginning PHP and MySQL: From Novice to Professional, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.