It could also be that the url to connect to the server isn't correct. Check to see if it is a relative URL, and if so, fully qualify it. I have found this bahavior myself...and the code can work in IE but not in other browsers, not on the Mac, not on Mobile.