I am writing first time to this forum. I need to know how to check that a client is in Idle state(Means mouse and key board is not working). I am developing a system which should be able to detect that a system is in idle state and after 10 mins of idle state..it should logout the person and update the database. I am using PHP 5.2.3.
The easy way is to use a 10 minute TTL session lifetime (server side) and also set the cookie (not session cookie) to expire at the same time. Bobby