title: PHP $_SESSION not persistant
body: <p>My php session doesn't hold. I have searched through the PHP $_SESSION question but don't see any which can explain this issue.</p>
  
  <p>Each time I reload the page with the PHP code below I get the output whether on my Cpanel web hosting or XAMPP localhost test server:</p>
  
  <p>No Session
  2</p>
  
  <p>I am using XAMPP for my test server and CPanel for the hosting. In XAMPP I can see a session file placed into the /tmp directory and are using Chrome with cookies enabled. In my CPanel hosting I can't see anything created under the /tmp directory and I use MS Edge browser. The session file under XAMPP has the following text:</p>
  
  <p>active1|b:1;count1|i:1;</p>
  
  <p>php server version is 5.6</p>
  
  <pre><code>&lt;?php
  error_reporting(-1);
  ini_set('display_errors', true);
  if (session_status() == PHP_SESSION_NONE) {
      echo 'No Session&lt;br&gt;';
      session_start();
      echo session_status();
      $_SESSION["active1"] = true;
      $_SESSION["count1"] = 0;
  }
  else {
      echo 'Have Session&lt;br&gt;';
  }
  $_SESSION["count1"]++;
  ?&gt;
  </code></pre>