Skip to main content

Session Handlers

  • Chapter
  • 4593 Accesses

Abstract

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

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2010 W. Jason Gilmore

About this chapter

Cite this chapter

(2010). Session Handlers. In: Beginning PHP and MySQL. Apress. https://doi.org/10.1007/978-1-4302-3115-8_18

Download citation

Publish with us

Policies and ethics