Session Protection

Welcome:
Notice: Undefined variable: loggedUser in /var/www/html/php7cookbook/source/chapter12/chap_12_session_protection_simple_login.php on line 15
Username
Password
 
$_COOKIE
array(1) {
  ["PHPSESSID"]=>
  string(26) "lqa530sdih66p40t9246p0379q"
}
$_SESSION

Notice: Undefined variable: _SESSION in /var/www/html/php7cookbook/source/chapter12/chap_12_session_protection_simple_login.php on line 27
NULL
Secret Info
Notice: Undefined variable: loggedIn in /var/www/html/php7cookbook/source/chapter12/chap_12_session_protection_simple_login.php on line 28