Has anyone had experience with catching an Ajax request that times out? I have users who lose wireless signal on occasion and I''m not sure how to code my app to respond to that situation. In Firefox, disconnecting from the network seems to produce the following exception (reported by Firebug): [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://domain.com/cache/base_ebe4b349c10c474aee7a4017c8614a48-jmkr0z.js :: anonymous :: line 82" data: no] this.transport.setRequestHeader(name, headers[name]); I''m not sure what exception, if any, is thrown in IE, or if the exceptions have certain properties the same each time, but I need a cross-platform way of detecting such failures--maybe setTimeout() is the only way? Any direction is appreciated. - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---