How can I make my browser(s) finish AJAX requests instead of stopping them when I switch to another page?
Posted
by
Tom Wijsman
on Super User
See other posts from Super User
or by Tom Wijsman
Published on 2012-12-08T10:35:35Z
Indexed on
2012/12/08
11:16 UTC
Read the original article
Hit count: 218
I usually need to deal with things on a page right before switching to yet another page, this ranges from "liking / upvoting a comment or post" up to "an important action" and doesn't always come with feedback on whether the action actually proceeded.
This is a huge problem! I assume the action to proceed once I start the particular AJAX request, but because I switch to another page it didn't actually happen because the AJAX request got aborted. This has left me several times with coming back to the page and seeing my action didn't take place at all; to give you an idea how bad this is, this even happened once when commenting on Super User!
Is there a way to tell my browser to not drop these AJAX connections but simply let them finish?
© Super User or respective owner