title: Refresh/Reload web page only once
body: <p>I've searched high and low and am unable to find any scripts or instructions on how to have a page automatically refresh <code>ONLY ONCE</code> after initially being loaded/viewed.</p>
  
  <p>I implemented a javascript code which states this: if the page is loaded completely, refresh the page immediately, but only once.</p>
  
  <pre><code>window.onload = function () {window.location.reload()}
  </code></pre>
  
  <p>But this gives a loop without the "only once".</p>
  
  <p>I also Implemented <code>meta refresh</code> but it also gives a loop.</p>
  
  <pre><code>&lt;meta http-equiv="refresh" content= "0;URL=http://www.example.com" /&gt;
  </code></pre>
  
  <p>Please tell me how can i use body <code>onload</code> refresh functionality <code>only once</code> that is for first time and not every time the php page is refreshed . </p>
  
  <p>I appreicate your immediate response. Thanks</p>