Having issues with $_SESSION['var']‘s not being saved after you redirect the user via header()? Add exit(); after the header() call.
Example:
$_SESSION['emailed'] = true;
header('Location: response.php');
exit();
Cheers!
interactivepoint solutions
Having issues with $_SESSION['var']‘s not being saved after you redirect the user via header()? Add exit(); after the header() call.
Example:
$_SESSION['emailed'] = true;
header('Location: response.php');
exit();
Cheers!
You can follow all the replies to this entry through the comments feed.
Thanks for this. It helped with a major problem I was having!