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_name("Tools");
include 'startSession.php';
$_SESSION['admin'] = "Yes";



startSession.php page:
session_name("Tools");
session_start();
header("Cache-control: private"); // IE 6 Fix.



Session variable display page:
session_name("Tools");
session_start();
echo '<pre>';
print_r($_SESSION_NAME['Tools']);
echo '</pre>';