Hope you guys are still out there .. i have development! :)
Not necessarily good, mind you.
I have found that if I clear my cookies, i get parallel execution, exaclty what i want.
But if execute the code again, I'm back to the queuing scenario.
Only by going into FF Tools > Clear Private Data...
Many thanks all.
This tells me that the problem is not at the client end, but likely web-server.
I will take the knowledge you've shared and go talk to the server admins.
Many thanks, you've no doubt saved me from hours of looking the wrong place !
Regards
erm .. how to say ..
If i read correctly, you are offering well meaning advice.
However, as i stated, this is not the actual code used my app.
The code I posted was simple rough and ready to demonstrate a particular problem.
At the end of the day, the code posted works for the purpose it was...
Sorry, my original code is rather complex, but have put together this simple script with which to test.
<SCRIPT>
if (window.XMLHttpRequest){xhttp=new XMLHttpRequest();}
xhttp.open("GET","localreceivers/db_get_A.asp",true);
xhttp.send("");
xmlDoc=xhttp.responseXML;
if...
So I guess you are saying that it 'should work' ?
I'll try and get hold of webserver logs as suggested.
While you're there, would you know how the client/browser would handle 2 seperate returns?
.. as in theory this would necessitate either multi-threading capabilities, or a holding-stack of...
K,
So I want to place 2 HTTPRequests simultaneiously.
Both will return recordsets from SQL Server.
So far, I've created 2 seperate request objects, the first with a call that normally takes around 20 seconds, the second with a call that normally takes around 2 seconds.
Using Firebug COnsole in...
Slept and now awake (as i get).
Thanks for confirming the problem wasnt in the code itself.. so this morning I set about attackking from the css angle.
I've finally (must fine tune my debugging technique) narrowed it down to a "body{height:100%;}" statement in the css.
In my code, removing...
I'm creating a textarea on-the-fly, and setting the onfocus event to :
function selTxt(){window.event.srcElement.select();}
However, the event is only firing if the user sets the cursor on the text within the textarea, and not the whole text area itself.
i.e. if the textarea is 20 chrs...
k, if anyone's still out there... i have new discoveries which change all of this ... sorry !!
new thread coming
(anyone know how to 'close-out' this one ?)
Thanks for all suggestions .... I suspect the answer does indeed lie in the realm of threads/re-using the req object.
However, I cant understand why, if each time the f_request fnctn is called, the xmlhttpreq object is aborted before a fresh call.
--- reponses to previous suggestions below...
Yes, 1 object, it collects nodes and adds them to the tree, 1 call at a time.
I have updated the debugger to draw a line '--------' at the start of a call and 'xxxxxxx' when response recived.
I cannot see anymore than 1 respoinse per request ... ??
Whaere are you seeing more ??
Ok,
I have found 2 mins to tidy up my dubugging screen to show much more clearly the calls and responses, hope this helps ?
On page open, 2 calls are made and responses shown.
On click "+ Arts" the call is made, but hangs ...
As for the firebug discussion...
I have hardcoded the params for...
K, installed firebug, results say that the parameters i'm passing in to f_request are 'undefined' ... yet my own debugger says otherwise.
Anyway, I've hardcoded the request path as a check, and the error persists.
Full code uploaded to :
http://www.outofthebluesolutions.co.uk/tm/t.asp
NB: it...
Looking for help with a scrip that works on IE, but suffers in Firefox.
Running all locally for now.
Each run of script makes multiple calls to "f_request" (consecutively)
Always calls to same path, at this stage only 1 parameter in the send string changes each time.
In Mozilla:
On first cylce...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.