Chapter 18. Session Handlers
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 Web. It is a stateless protocol, meaning that each request is processed without any knowledge of any prior or future requests. Although HTTP's ...
Get Beginning PHP and MySQL: From Novice to Professional Fourth 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.