From: ryan14 at mail dot com Operating system: Windows/Linux PHP version: 5.3.0 PHP Bug Type: Feature/Change Request Bug description: Inactivity logout feature request
Description: ------------ PHP should have a feature that automatically logs out a user after a certain period of inactivity. For example, a user on a public computer may log into a website and then go away and leave the browser open and forget to logout, so the next person who uses the public computer will be able to access the previous person's account. So if there was a php feature called "inactivity timeout" where a programmer could set a period of for example 10 minutes of inactivity, it means if a person is inactive for more than 10 minutes since the last time they clicked on a part of the website, they will be automatically logged out when they click again and redirected to the current page they were on or whatever page the programmer chooses(like the login page or index page). This should work with sessions and cookies and http authentication. Cookies(secure and non-secure(httponly) ) and sessions will be closed/deleted/ended so users will have to login again. -- Edit bug report at http://bugs.php.net/?id=49221&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49221&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49221&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49221&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49221&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49221&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49221&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49221&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49221&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49221&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49221&r=support Expected behavior: http://bugs.php.net/fix.php?id=49221&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49221&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49221&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49221&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49221&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49221&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49221&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49221&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49221&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49221&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49221&r=mysqlcfg