Because of the fact that your pages are being reloaded, the browser is going to see the refresh code again and execute it. I see quite a few problems with this.
The only way that I can think of to acheive this is to set a cookie when the page first loads and only allow the page to be refreshed if that cookie is not present when the page reloads.
If anyone else has any better suggestions, feel free to add them..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.