Is there a way to determine if a page was refreshed? I have a function that
is called when the page loads, but when the user refreshes the page it calls
the function again. Is there a way to call the function only when the page
initially loads? I don't want it to load when the user clicks the refresh
Eric means that you should try to redesign your application such that there's no need to show an empty page and then refresh it. Actually even I'm not sure why that's required, I've never came across a situation where I had to show an empty page and refresh it...