PHP - set session variable to expire after 30 minutes
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/520237/how-do-i-expire-a-php-session-after-30-minutes">How do I expire a PHP session after 30 minutes?</a>  </p>
</blockquote>



<p>I have a session </p>

<pre><code>$_SESSION['uid'];
</code></pre>

<p>Is there a simple script to end this session after 30 minutes?  Any help is greatly appreciated.</p>
