PDA

View Full Version : Timing Problems on slow networks?



Dumbledore
22 Nov 2007, 11:33 PM
Hi,

i have following test code:


Ext.onReady(function() {
var conn = new Ext.data.Connection();

conn.request({
url: '/server_response/check_login.asp',
method: 'POST',
success: function(response){
alert("success")
},
failure: function(response){
alert("failure")
}
});
});


When i use this code on our speedy intranet all runs fine. When i use the Internet-Explorer on a slow network no connection call is executed. Can some explain why?

Bye

Dumbledore
23 Nov 2007, 12:47 AM
found it... there is no timing problem in this code. it was a setting under the security settings of the ie. In my setting it is not allowed to use ActiveX Components. And with the IE an Ajax-Call is an ActiveX-Object.

Interessting that the code give no errors...