PHP session Examples1

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) }
Click here to session2

More PHP session see: tizag and w3schools