PHP – Lesson 11: Using COOKIE and SESSION

This lesson demonstrates how the PHP  $_COOKIE and $_SESSION superglobal arrays work. On this page are three slideshow/demo videos, as follows:

  • Slideshow lesson on how we use $_COOKIE and $_SESSION to get info from users
  • Demonstration on how to build simple, basic code to illustrate $_COOKIE
  • Demonstration on how to build simple, basic code to illustrate $_SESSION


“Getting Info From Users (B) : COOKIE and SESSION”

You can also download the pdf version of this slideshow here.

 


 

Demo on Using $_COOKIE (18:38)

(This demo corresponds with the slideshow above.)

 


 

Demo on Using $_SESSION (15:14)

(This demo corresponds with the slideshow above.)