title: How to make countdown timer not reset when refresh the browser?
body: <p>When i refresh the browser, the timer resets, so how to make it not reset?
  This is my code. Please check it.  </p>
  
  <pre><code>&lt;?php echo $waktune; ?&gt; // You can change it into seconds
  </code></pre>
  
  
  
  <pre><code>var detik = &lt;?php echo $waktune; ?&gt;;
  if (document.images) {
      parselimit = detik
  }
  function begintimer() {
      if (!document.images)
          return
      if (parselimit &lt; 12) {
          document.getElementById("servertime").style.color = "Green";
      }
      if (parselimit == 1) {
          document.getElementById("hasil").submit();
      } else {
          parselimit -= 1 curmin = Math.floor(parselimit / 60)
              cursec = parselimit % 60
          if (curmin != 0)
              curtime = curmin + ":" + cursec + ""else
              curtime = cursec + " detik"document.getElementById("servertime").innerHTML = curtime setTimeout("begintimer()", 1000)
          }
  }
  </code></pre>