I have on my website:
What i am trying to do is i have login point to redirect passing the login info from login.php. in redirect.php I want it to set all of the session variables that i will need everywhere else in the site, however, using:
session_start(); $_SESSION['id'] = 1; header("location: ../index.php");
session_start(); print $_SESSION['id'];
Output not a thing..
Any help is greatly appreciated.