Support » Plugin: Easy Timer » Reset Timer on each page re-load

  • Resolved TGRCreative


    Hi, I am using this plugin in a sidebar widget to act as a countdown timer on a basic exam/test my users take. When the timer expires, they are re-directed to a exam time out message page.

    As this is not a formal exam/test, I give users the opportunity to re-take the test straight away. I am finding that as soon as a user returns to the page containing the original (now timed out) timer, it does not reset and start counting down again, it immediately re-directs to the time out message page.

    I obviously need to do something to tell the timer to reset (delete a cookie, clear the cache) or something on each exam/test page load.

    Can you offer any advice, on how to accomplish this using the plugin.

    Thanks in advance and thanks for the great plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kleor



    You must delete the cookies whose names start with first-visit-, only when you redirect the user to the page in order to re-take the test.

    Hi Kleor, thanks for your fast reply.

    Forgive me, but I am new to dealing with cookies..
    I had a good search around for info on how to accomplish this before simply re-contacting you, but am running into difficulties when it comes to deleting the timer created cookie.

    All the ways I have found in tutorials look at searching for and matching the cookie based on it’s name. The cookie names created by the timer are variable from what I can see, so I cannot find a way to search for identify and then delete the cookie.. (hope that makes sense)..

    I tried using print_r($_COOKIE) to see what was going on, but alas.. it does not show any info related to the timer cookie, only all the other cookies created by WordPress.

    Can you offer any further help or direction please?

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset Timer on each page re-load’ is closed to new replies.