Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Session before header.
01-17-2010, 12:40 AM #1
- Join Date
- May 2009
- Thanked 4 Times in 4 Posts
Session before header.
Ok, So I am trying to make a script that makes sure users are logged in when viewing the page, and if not, send them to the home page, and send a session variable with a code for a message that tells them they must be logged in. However this is not working
$_SESSION['mcode'] = 3;
I found the issue, thank you all who read.
Last edited by Rihoj; 01-17-2010 at 12:47 AM. Reason: Found the issue