PHP Don't run code on refresh
<p>So I have this page that can only be seen by a user 5 times. And I made this code that goes into the database and it adds 1 to the AccessCount field everytime the user logs in. What I want to do is that if the user refreshes his web browser, have the code that records the AccessCount NOT run.</p>

<p>How can I do this? Thanks!</p>
