Include a timestamp attribute of the $_SESSION variable. Check it periodically and expire the session according to a conditional:
$_SESSION['mytimestamp'] = time();
Include a timestamp attribute of the $_SESSION variable. Check it periodically and expire the session according to a conditional:
$_SESSION['mytimestamp'] = time();