T-mobile already uses this logic but I don't know how to do it.
This is the scenario: I login to my website and don't do anything at all for 2 minutes, just sit and look at the screen. In such case, I should be redirected to logout page where session will be destroyed.
How can I do this?
Examples on web are based on user actions such as check something (last activity etc.) after user activity.
Note: I'm using Codeigniter and its database sessions.