Does the above timeout starts from the time when the page is first loaded or starts from last key press/mouse move ? We need to calculate 20 minutes from last key press/mouse move.
Also how to alert the application 1 minute before the timeout ?
20 minute from the last http request made to the server from this session.
What do you mean by "alert the application"?