Why won't PHP retrieve my $_SESSION variables?
<p>I was making a login system for a site today and had finished up all the code and everything was working fine. I pushed the changes to get and came back a few hours later to start developing again. Everything was working fine and I changed no code, then sessions stopped working. Now even very simple code will not work and I can not figure out why. Sessions were working and then just stopped for no reason. </p>

<p>page1.php:</p>

<pre><code>&lt;?
session_start();
$_SESSION['test'] = 'hello world';
print_r($_SESSION);
?&gt;
</code></pre>

<p>output:
Array ( [test] => hello world )</p>

<p>The output is just as expected. However:
page2.php</p>

<pre><code>&lt;?
session_start();
print_r($_SESSION);
?&gt;
</code></pre>

<p>output:
Array ( )</p>

<p>I can not figure out what the problem is, no code was changed between the time it worked, no server updates nothing. I use linode so my host did not change anything. Can anyone please tell me what to do here I have been at this for hours no suggestions help. </p>
