Session variables are lost after using the following code to redirect:
header('Location: ./protected_page.php');
exit; //doesn't seem to do anything
On protected page I make sure to use session_start() before referencing any session variables.
Please help!