I have a couple of buttons on my page which have code behind handlers. This works great - I press either of the buttons on the client page and the button click event handler function runs. Then the page is sent back to the client.

However, I have noticed that when I press F5 to refresh the page the previously triggered event handler is triggered again. In other words if I press button 1 and wait for the page to be redisplayed and then press F5, the same button handler is triggered even though I haven't pressed it this time.

Is it possible to make an F5 refresh appear to the server as though the page has been hit for the first time?