If the session is lost it may be some problem with PHP. I tried it again with a localhost lampp and everything works fine.
These two values are used with the session:
You also don't need to use echo for the function calls.
These two values are used with the session:
Code:
$_SESSION['LoggedIn']
$_SESSION['Username']
You also don't need to use echo for the function calls.