title: My $_SESSION[''] disappears
body: <p>Here is my problem, I have a PHP SESSION but it disappears...</p>
  
  <p>That's my code,  </p>
  
  <pre><code>&lt;?php
      session_start();
      if (isset($_SESSION['connect'])) {
          echo $_SESSION['email'];    
          echo '&lt;meta http-equiv="refresh" content="6;URL=http://www.mywebsite.com/management.php"&gt;';
      } 
  ?&gt;
  </code></pre>
  
  <p><code>$_SESSION['connect']</code> exists, so I pass the If check.</p>
  
  <p>When I display $_SESSION['email'] it works. <code>$_SESSION['email'] = mymail@gmail.com.</code><br>
  But when I'm redirected on my page <code>management.php $_SESSION['email'] = 1.</code></p>
  
  <p>management.php</p>
  
  <pre><code>&lt;?php
      session_start();
      echo $_SESSION['email'];
  ?&gt;
  </code></pre>
  
  <p>Why?</p>
  
  <p>Thanks.</p>