Hi there,
I have a js countdown timer which counts down from 60 seconds to zero and when it hits zero it redirects the page.
Only problem is that when the user refreshes the page the timer obviously reverts to 60 seconds.
Does anyone have any code which would turn this into a cookie so that the location of the timer is stored each time the page is refreshed and then the timer continues from where it left off?
My timer is using setTimeout.
I’ve seen a couple of examples of this on various forums but none actually seem to work - my cookies are switched on.
Also, I cannot use form, input or anything else like this due to the third party software we’re using (long story!).
Any help would be lovely.
Thanks!