Re: Why doesn't this work?



Joey@xxxxxxxxxxxxxxxxxxxxxx wrote:
) Willem wrote:
)
)>Joey@xxxxxxxxxxxxxxxxxxxxxx wrote:
)>) When I submit the list of files to this [abbreviated] script for
)>) uploading, instead of receiving a real-time list of files being uploaded,
)>) I get nothing until the entire list of files has been uploaded, and then
)>) the HTML page pops up (with the correct list shown).
)>
)>Have you tried it in different browsers?
)
) I've tried it in two browsers (Opera 12 and FF) with the same result.
)
)>Have you played around with the browser settings?
)
) I don't know what browser settings would have an effect.
)
)>Have you looked at it with a browser-based debugger?
)
) Yes. No hints.
)
)>Have you looked at the HTTP traffic with a protocol sniffer?
)>
) No, but I can't see how that would tell me anything.

It could show you that nothing is being transmitted until the script
completes. It could also show that the data is being transmitted line by
line, which means that it's the browser that is holding off on displaying
the list until it's complete.

) Is it fair for me to presume that it should work as I want, if whatever is
) causing it to behave the way it is resolved?

I believe you've gotten that answer crossthread.

IME, the only reliable way to get this to work is to make javascript
xmlhttp requests (in json or something) for each line separately.

I've gotten the approach of making one xmlhttp request, and parsing the
incomplete results, work on FF, but not on IE (which only delivers the
received data to the callback on completion).


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.



Relevant Pages

  • eMailing with an extracted eMail address
    ... I have customers uploading info to a web site via a cgi script ... The uploaded file is a CSV file and always contains the senders ... Ok, when this script is run from a browser, it produces the ...
    (comp.lang.perl.misc)
  • Re: Why doesnt this work?
    ... When I submit the list of files to this script for ... uploading, instead of receiving a real-time list of files being uploaded, ... I've tried it in two browsers with the same result. ...
    (comp.lang.perl.misc)
  • Sencha Touch--Support 2 browsers in just 228K!
    ... It is advertised as the first "HTML5 framework" based ... very little of the script relates to HTML5. ... several of its key features rely on UA-based browser sniffing. ... iPhone/iPod/iPad devices account for 90% of the mobile market. ...
    (comp.lang.javascript)
  • Re: Sencha Touch--Support 2 browsers in just 228K!
    ... Normalizes currentStyle and computedStyle. ... display style of "none" or any number of possibilities in IE). ... It is not set anywhere in this script. ... browser designs based on retrieving accurate computed style values are ...
    (comp.lang.javascript)
  • Re: Which Is The Better Approach To Working With Javascript?
    ... implementation has no interprocess communication capability, or ability to interface with a script interpreter. ... Java SCRIPT runs in the browser exclusively. ... No language is written just for a single environment. ...
    (comp.lang.php)