I have a JSP page that takes input from the user and when the user presses SAVE the data goes to a server along with a JSESSION ID which is use to authenticate the user.The JSessionID expiers after 10 mins of inactivity.
Now it may happen that user presses the save button after 10 min.In that case the JSESSIONID would expire and server would throw an exception, which would be visibe to the user
What i want is to fire dummy query to server after every 9 mins so that the Jsessionid does not expire..Now how do i keep the track of time in my JSP page..