Forum Moderators: open
So, that's probably the only thing you have to change (that boolean value)
But with both, if you want to reload the page, this doesn't happen, not on any browser.
But i think what im looking for is imposilbe.
I Just want to have an request to be stopped when someone presses the refresh button or back.
Becouse now, when an async request is bussy, the browsers don't refresh or go back.
Thx anyway :).
I put an example online for you so you can see it really does work:
[devshed.excudo.net...]
clicking on the Async or Sync link will active the same serverside script that will take approximately 5 seconds before it gives output.
As you can see, with the Sync button, the browser freezes and refreshing is not possible, whereas with the Async button refreshing ís possible. This worked for me in Firefox, Opera and IE