PHP session Examples

Session variables are set.
variable1 is ABCDE.
variable2 is 12345.
Print all session variables:
array(2) { ["variable1"]=> string(5) "ABCDE" ["variable2"]=> int(12345) }
Change one session variable:
array(2) { ["variable1"]=> string(5) "abcde" ["variable2"]=> int(12345) }
Unset session variables:
array(0) { }
Session is now destoried.

More PHP session see: tizag and w3schools