Assuming I have a timer which will be activated by user click on a button, How can I save the data (current timer state and data) before user closes his browser and resume the timer after user visits the same page , taking into account the elapsed time between the two sessions.
My development is based on ASP.NET MVC4 and mostly I use ajax calls to service user interactions.
I am considering if there is a way that I can control this interaction and requirement via server-side code but I am skeptical about this.
What is your idea?