Hey guys,
how come this script:
print_r($_SESSION);
if(session_is_registered('authorisatie')); // User is logged in
{
echo "logged_in";
if(!isset($_POST[formid])) // Form has not been submitted: Retrieve data from dbase
{
echo 'not submitted';
}}
results in:
Array ( ) logged_innot submitted?
Obviously the session array is empty. There should not be a variable authorisatie registered??
J