PHP Session Cookie Not Being Cleared On Browser Close
<p>The following occurs on Chrome, but works perfectly on IE.</p>

<p>a.php</p>

<pre><code>&lt;?php
session_start();
$_SESSION['name1'] = 'value1';
</code></pre>

<p>b.php</p>

<pre><code>&lt;?php
session_start();
echo $_SESSION['name1'];
</code></pre>

<p>After running <code>a.php</code>, I closed the browser and opened a new Chrome window to run <code>b.php</code>.
I was surprised it displayed <code>value1</code>.</p>

<p>The problem is why the session is still alive when I close the browser?
How to fix it? I want the session being killed when the browser closed.</p>
