Hi, > I never see this alert when my web host is > overloaded and just doesn't respond at all.
Take a look at "Bulletproof Ajax Requests", it appears that for some reason, `on0` is triggered in failed-to-connect situations: http://proto-scripty.wikidot.com/prototype:how-to-bulletproof-ajax-requests I don't know if a change related to this is going to be done at some point. Always be sure to test in your target browsers in case things vary... HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Mar 10, 10:31 pm, JoJo <[email protected]> wrote: > I noticed that the onFailure callback never fires when there's > actually an error in Ajax.Request. Commonly, I just alert('server > busy') in the callback. I never see this alert when my web host is > overloaded and just doesn't respond at all. How do I alert an error > message when the server is too slow and never responds? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
