SouthSpawn posted on Saturday, June 28, 2008
Is there anyway to detect if the page has been refreshed by the browser using asp.net?
I am trying to prevent from calling an ajax call during the "onunload" event.
I am on the 3.5 framework.
Thanks,
Mark
JoeFallon1 replied on Monday, June 30, 2008
There is no built-in way to do it (that I know of.)
I use a technique that Dino Esposito wrote about a few years ago.
Try searching for him and words like:
RefreshTrapper and IHttpModule
Joe