PHP session don't expire
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3428153/php-ini-setsession-gc-maxlifetime-5-why-it-doesnt-end-the-session">PHP - ini_set(&#39;session.gc_maxlifetime&#39;, 5) - Why it doesn&#39;t end the session?</a>  </p>
</blockquote>



<p>What is the reason that my session doesn't expires?</p>

<p>see the code below.</p>

<pre><code>session_start();
ini_set('session.gc-maxlifetime', 30);    

if(isset($_GET['sessie'])){
   $_SESSION['sessionid'] = $_GET['sessie'];
}

if(isset($_SESSION['sessionid'])){
    echo $_SESSION['sessionid'];
}
</code></pre>
