Sorry, I missed that detail that changing servers solves the problem. XHR has response codes from the server which tell it the state of the request. I suppose that something is happening to delay this response or something. You might search Google for info on this delay with that server; I doubt it's mootools. You might try with another framework to see if the problem exists if you use something else...
On Tue, Oct 27, 2009 at 9:00 AM, batman42ca <[email protected]> wrote: > > On Oct 27, 10:52 am, Aaron Newton <[email protected]> wrote: > > how big is the JSON response? what if you profile a simple page with the > > contents of that response being run through JSON.decode? Do you see a > delay > > there? > > The Json response is small and consists of 5 numbers which are simply > echoed back from the request. My test code is now posted in this > thread. I've tried it using an html request as well. Same problem but > as I mentioned in a recent post, changing servers fixes the problem > though I don't understand why given the delay seems to occur after the > server has already responded and before my onComplete even is > triggered. >
