Trying to implement session_name to keep variables from mixing
I have a website and backend tool that both use $_SESSION[firstName] and sometimes the data mixes. So I did some research and came up with session_name, but it's not working for me. The admin session variable is not being shown on the page I created to show session variables. Do I have this setup correctly?
Backend tools page:
$_SESSION['admin'] = "Yes";
header("Cache-control: private"); // IE 6 Fix.
Session variable display page: