How to trigger any action, when the session[1] is idle for particular time (eg:10mins).
I'm doing one web application using Grails. If the system is idle for sometime, I need to hold some particular task. Is it possible to trigger any action when system is idle?
Note: I'm not asking about session timeout. By default, it should logout, if session is idle for 30mins.
[1] : Here session in the sense System. My web application is hosted in one server, Where many user can access the application. If one user's system is idle for some time, then I need to hold the task of that particular user. How can i do this?