G
Guest
We have made a web database application which uses XML-RPC protocol to make
its operations. So users can easily use the application without waiting for
page loadings. Bu have come accross a problem, i want to tell you about it:
After the user clicks a menu item Internet Explorer loads the application
page over there we make some database operetions with xml-rpc. Some of these
operations make browser to load some data (i guess they are images that
haven't been loaded yet) and IE says "XX items remaining" on the left bottom.
When loading hasn't been completed, if I pres another buton in our
application (another xml-rpc call), IE crashes.
Microsoft says that the problem can be occured for IE 6 SP1 at the following
web page:
http://www.microsoft.com/downloads/...FamilyID=6ad4034b-22df-4100-b211-5cf7e0eac5e1
But I am using IE 6 SP2. Firstly i examine that i can find any javascript
code for learning how many items remaining before i call xml-rpc function. I
found some codes for doing this but they are only related with image
loadings.
var badImg = new Image();
badImg.src = 'http://localhost:8080/MRP/error_icon.gif';
var control = false;
while (!control) {
control = true;
for(var i=0;i<document.images.length; i++){
var cpyImg = new Image();
cpyImg.src = document.images.src;
if(!cpyImg.width){
document.images.src = badImg.src;
}
}
}
I think there are some different kinds of files (except images) IE wants to
load while it says "XX items remaining".
If you have some time, please look at our application demo, and see the IE
crash. The address of the demo is http://mrp.rakun.org/ . User and Password
are both 'demo'.
After opening the main page, please enter the "StockCardDefinition" under
the "Stock" main menu. As you see there are 2 buttons there. One is used for
adding new records to the Stock Cards and the other is used for searching
existing records using a grid. If you pres add buton before you fill the
form, the form will raise becoause of the validation. After pressing add
button when IE says "XX items remaining", if you pres search buton IE crashes
for 10-15 minutes. After 10-15 minutes it gives an timing problem fort the
xml-rpc call.
its operations. So users can easily use the application without waiting for
page loadings. Bu have come accross a problem, i want to tell you about it:
After the user clicks a menu item Internet Explorer loads the application
page over there we make some database operetions with xml-rpc. Some of these
operations make browser to load some data (i guess they are images that
haven't been loaded yet) and IE says "XX items remaining" on the left bottom.
When loading hasn't been completed, if I pres another buton in our
application (another xml-rpc call), IE crashes.
Microsoft says that the problem can be occured for IE 6 SP1 at the following
web page:
http://www.microsoft.com/downloads/...FamilyID=6ad4034b-22df-4100-b211-5cf7e0eac5e1
But I am using IE 6 SP2. Firstly i examine that i can find any javascript
code for learning how many items remaining before i call xml-rpc function. I
found some codes for doing this but they are only related with image
loadings.
var badImg = new Image();
badImg.src = 'http://localhost:8080/MRP/error_icon.gif';
var control = false;
while (!control) {
control = true;
for(var i=0;i<document.images.length; i++){
var cpyImg = new Image();
cpyImg.src = document.images.src;
if(!cpyImg.width){
document.images.src = badImg.src;
}
}
}
I think there are some different kinds of files (except images) IE wants to
load while it says "XX items remaining".
If you have some time, please look at our application demo, and see the IE
crash. The address of the demo is http://mrp.rakun.org/ . User and Password
are both 'demo'.
After opening the main page, please enter the "StockCardDefinition" under
the "Stock" main menu. As you see there are 2 buttons there. One is used for
adding new records to the Stock Cards and the other is used for searching
existing records using a grid. If you pres add buton before you fill the
form, the form will raise becoause of the validation. After pressing add
button when IE says "XX items remaining", if you pres search buton IE crashes
for 10-15 minutes. After 10-15 minutes it gives an timing problem fort the
xml-rpc call.