How to read the streaming data from IE xmlhttprequest object

V

Vijay

Hi Folks,
I having one issue, in my application I am going to use the server push

for streaming the data by keeping the connection open. At client side,
i am having the XMhttprequest object (i.e ActiveX object of IE). When
the data comes, onreadystatechange method get callback on state 3 but
it doesn't allow me to read the data from the object. It says 'The data

necessary to complete this operation is not yet available'. Is it
possible to read the streaming data from the XMLHttprequest object in
IE?

I know Mozilla supports to read the data, when the ready state is 3. In

Internet Explorer, how we can use the XMLhttp Active object to read the

streaming data.


Plz help, if any body knows any possible way of implementing.
 
J

Jim Ley

necessary to complete this operation is not yet available'. Is it
possible to read the streaming data from the XMLHttprequest object in
IE?

You can't do it, use IFRAME techniques instead.

Jim.
 
V

Vijay

Jim,

I have seen it's possible with Mozilla. Is it a limitation of MS
ActiveX object? If it is, will MS is going to fix this issue in there
future IE release or they r going to give any service pack.
 
J

Jim Ley

Jim,

I have seen it's possible with Mozilla. Is it a limitation of MS
ActiveX object? If it is, will MS is going to fix this issue in there
future IE release or they r going to give any service pack.

The behaviour has been there for 6 years, I see no likely reason why
it will be changed. It's also pretty inefficient to parse the entire
the entire stream each time...

Use IFRAME techniques, they are far superior than XHR ones.

Jim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top