kehers
06-13-2006, 06:06 AM
Is there anyway to automatically destroy a session after a certain time of user inactivity?
|
||||
Killing session after certain time of inactivitykehers 06-13-2006, 06:06 AM Is there anyway to automatically destroy a session after a certain time of user inactivity? litebearer 06-13-2006, 06:24 AM look here http://www.phpfreaks.com/tutorials/77/0.php Lite... 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