title: php sessions not working correctly
body: <p>Hello i am having problems holding sessions from page to page, code worked on my previous servers running php5 but not on my recent server, i am wondering whether its a bug?</p>
  
  <pre><code>&lt;?php
  session_start();
  $_SESSION['session'] = $_POST['session'];
  
  header("location: www.mysite.com/page1.php");
  ?&gt;
  
  
  &lt;?php
  session_start();
  
  echo "Good morning" . $_SESSION['session'];   //returns empty session always.
  ?&gt;
  </code></pre>
  
  <p>ANy ideas?  session is held on first page but not on the second.</p>