Harden Up Your Ajax!
There are an annoying amount of things that can go wrong when making a call using the XMLHttpRequest object (that thing that makes Ajax possible) and to make matters worse many of these are outside of your control. Let’s look at solutions for dealing with common ajax related issues such as timeouts & loss of connectivity to ensure our users can always buy those fancy silver cat widgets your boss is so eager to sell online.