View Full Version : Killing session after certain time of inactivity

06-13-2006, 06:06 AM
Is there anyway to automatically destroy a session after a certain time of user inactivity?

06-13-2006, 06:24 AM
look here



ralph l mayo
06-13-2006, 06:26 AM
If by automatically you mean manually, then yes. Set $_SESSION['lastseen'] or an equivalent database field tied to the session on every page hit, and reject values of lastseen older than your threshold for inactivity during authentication.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum