I have some code in the load event of my page which should only run the first time the page is loaded, however, it runs everytime ‘refresh’ is clicked on the browser EVEN THOUGH i am checking for postbacks:
If not page.ispostback then
' Code...
End if
Refresh isn’t a postback (i.e. there’s no
POSThappening, it’s anotherGET), it’s the browser asking for the page all over again. In this case, from the server point of view, it’s a fresh request.