© Frank M. Kromann 2018
Frank M. KromannBeginning PHP and MySQLhttps://doi.org/10.1007/978-1-4302-6044-8_17

17. Session Handlers

Frank M. Kromann1 
(1)
Aliso Viejo, CA, USA
 
Although 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 the following:
  • 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 consider managing session data in a database, and how to do it

What Is Session Handling?

The Hypertext Transfer Protocol (HTTP) defines the rules used to transfer text, graphics, video, and all other data via the World Wide ...

Get Beginning PHP and MySQL: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.