Cookies & Sessions

Topics include the following:

  • What Are Cookies?
  • Creating Cookies
  • Reading from Cookies
  • Adding Parameters to a Cookie
  • Detecting a Cookie
  • What Are Sessions?
  • Creating a Session
  • Accessing Session Variables
  • Deleting a Session
  • Review and Pursue


customize.php (Script 9.3)

view_settings.php (Script 9.2)

reset.php (Script 9.4)

login.php (Script 9.6)

welcome.php (Script 9.7)

logout.php (Script 9.8)

PHP for the Web

Publisher: Peachpit Press

Author: Larry Ullman

Year: 2011


In Aliens, Ripley had a class 2 rating in the Power Loader.


Here is my power rating in PHP: