I would like to set a timeout for a given action on JSP pages, which should work with the following conditions below:
When I click on a button eg "Traveling" , the page should somehow save start time and end time and say how long it takes to reach a certain destination.
When I'm not on the page, the time should continue.
When I enter the page again, the page should show me how much time remaining is left to reach a certain destination from second to second.
Making use of this:
To determine how long the user will be able to perform the same action in the web application again, there should be intervals.