title: Session variables not passing to other pages
body: <p>I have a site on my localhost that i am using session variables on. </p>
  
  <p>This is the first page where I defined the session variable for the username:
  Newcust.php</p>
  
  <pre><code>&lt;?php 
  session_start();
  ?&gt;
  
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;?php
  
  $mysqli = mysqli_connect("localhost", "root", "", "bms");
  
  if (mysqli_connect_errno())
  {
      printf("Connection Failed: %s\n", mysqli_connect_errno());
      exit();
  }
  
  else
  
  $_Session ['uname'] = $_POST['uname'];
  $pword = $_POST['pword'];
  $enc = sha1($pword);
  </code></pre>
  
  <p>echoing the session variable back on the same page returns the correct username. When I try to use the $_Session ['uname'] variable on the next page of the site, it does not register at all.</p>
  
  <p>insert customer.php</p>
  
  <pre><code>&lt;?php 
  session_start();
  echo "hello " .$_Session ['uname'];
  ?&gt;
  </code></pre>
  
  <p>Could this be a server issue? I am running Apache on my macbook and haven't had a problem with php yet.</p>