Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. simonB2007

    Concurrent HttpRequests

    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...
  2. simonB2007

    Concurrent HttpRequests

    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
  3. simonB2007

    Concurrent HttpRequests

    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...
  4. simonB2007

    Concurrent HttpRequests

    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...
  5. simonB2007

    Concurrent HttpRequests

    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...
  6. simonB2007

    Concurrent HttpRequests

    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...
  7. simonB2007

    Textarea onFocus ..... only fring on text, not textarea

    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...
  8. simonB2007

    Textarea onFocus ..... only fring on text, not textarea

    yeah, got the ondblclick event attached in that code pasted .... nothing recognised outside of the populated text space.
  9. simonB2007

    Textarea onFocus ..... only fring on text, not textarea

    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...
  10. simonB2007

    Firefox Hang on Successive Requests

    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 ?)
  11. simonB2007

    Firefox Hang on Successive Requests

    maybe more specifically ... why does the code work in IE, but not FF ?
  12. simonB2007

    Firefox Hang on Successive Requests

    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...
  13. simonB2007

    Firefox Hang on Successive Requests

    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 ??
  14. simonB2007

    Firefox Hang on Successive Requests

    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...
  15. simonB2007

    Firefox Hang on Successive Requests

    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...
  16. simonB2007

    Firefox Hang on Successive Requests

    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...

Part and Inventory Search

Back
Top