Re: Why doesn't this work?
- From: Willem <willem@xxxxxxxxxxxxx>
- Date: Wed, 21 Dec 2011 21:43:23 +0000 (UTC)
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
.
- References:
- Why doesn't this work?
- From: Joey@xxxxxxxxxxxxxxxxxxxxxx
- Re: Why doesn't this work?
- From: Willem
- Re: Why doesn't this work?
- From: Joey@xxxxxxxxxxxxxxxxxxxxxx
- Why doesn't this work?
- Prev by Date: Re: Why doesn't this work?
- Next by Date: Re: Why doesn't this work?
- Previous by thread: Re: Why doesn't this work?
- Next by thread: Re: Why doesn't this work?
- Index(es):
Relevant Pages
|