--

1. Store the time of the original start time of the timer, either in localStorage, a cookie, or in a db table on your server.

2. Each time the page loads first fetch that start time and then compare it with the current time. Have the time elapsed between those two times be the start time of the timer and immediately start the timer adding on to that time.

--

--

Jamie Uttariello
Jamie Uttariello

Written by Jamie Uttariello

developer. entrepreneur. student.

No responses yet