Time out and redirect

Hi

I wonder weather I can set a time out if user does not do anything in two minute.

My steps are as follows

1. In the first screen user enters the pin and validated then redirected to next page (from the next page onward only a validated user can view the data)

2. if user does not interact with the app for two minutes I need to redirect the app to first screen where he has to enter the pin again.

Upto now I have done validating user and redirecting viewing the data.
But I am looking for a way to redirect the user to first page if he has not done any anything within 2 minutes.

Please guide me if you know how to do this.

Thanks
1 person has
this question
+1
This topic is no longer open for comments or replies.