ID: 49221 Updated by: ras...@php.net Reported By: ryan14 at mail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Windows/Linux PHP Version: 5.3.0 New Comment:
Sorry, this is well beyond the scope of PHP. All the tools for doing this directly in PHP are there including the session_cache_expire() function and associated configuration setting. Previous Comments: ------------------------------------------------------------------------ [2009-08-11 09:53:54] ryan14 at mail dot com 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 this bug report at http://bugs.php.net/?id=49221&edit=1