I have having trouble passing a variable threw my sessions.
Page 1: session_start();
session_id("$POST[login_name]");
$SESSION["cur_page"] = "home";
header("Location: dbl.php");
Page 2 require("include/session.php");
echo $_SESSION['cur_page'];
Page 3(sessions.php) session_start();
My page 2, will not display "home" like I am asking it to. Is there a way to do this, keeping the way of page one starts everything and headers:location to page 2 which calls page 3 that cantains the session_start to continue it. Any help would be great thanks.