Genesis Posted November 5, 2003 Share Posted November 5, 2003 What I want to do is send a query to a database that will cause a user to be logged out after 15 minutes of the script being executed. When the user loads a page, it sets \"available\" to 1 in the database, for that user. Fifteen minutes later, that user\'s \"available\" field should be set to 0 AUTOMATICALLY. If the page is refreshed again before that time, the timer should be reset to 15 minutes. How might I go about doing this? Or is there another way to get this effect without having to delay the execution of a query? Quote Link to comment https://forums.phpfreaks.com/topic/1300-how-does-one-emulate-a-delayed-query-execution/ Share on other sites More sharing options...
Genesis Posted November 6, 2003 Author Share Posted November 6, 2003 bumparooni Quote Link to comment https://forums.phpfreaks.com/topic/1300-how-does-one-emulate-a-delayed-query-execution/#findComment-4331 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.