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