SHARE
TWEET

Untitled

a guest Mar 30th, 2011 32 Never
  1. <?php
  2. require_once("checklogin.php");
  3. $_SESSION['expiry'] = time() + 30 * 60;
  4.  
  5. if ($_SESSION['expiry'] < time()) {
  6.     session_destroy();
  7. }
  8. ?>
RAW Paste Data
Top