|I'm looking for a way to enforce a PHP session timeout after X minutes regardless of user activity. The problem is that all the PHP session timeout examples I've seen only take effect *on the next action* the user takes after the session timeout interval.|
I found this "hack" that forces the browser to automatically refresh the page even if no human is around:
<meta http-equiv="refresh" content="605">
but I'm curious if there's a better way?