English 中文(简体)
Long Poll and IE s XDomainRequest Object
原标题:Long Poll and IE s XDomainRequest Object

I m trying to implement a chat app that uses long polling to get messages from a remote (cross domain) server.

是否有办法处理一项“XDomainRequest? 看来,我的联系总是在随机借调人员(通常是约1-3名警卫)之后终止,而不是等待服务器作出答复。

The IE dev toools thell me that the request has been "aborted" with no data received.

XDomainRequest难道不适于长期投票,或者我在这里没有东西?

问题回答

如果这个问题也成为种族问题,则使用“贵格”图书馆。 尽管Fiddler显示有200份答复,但IE网络Cole还是将这一请求称为“ab”。

在经过几轮 st轮 st后,我走过了这条路,建议填满所有护卫员。 我怀疑,在请求被一页大量拖延,导致我的种族行为时,进步才被叫来,失败。

IE9 XDomain Request issued request may abort if all event Handrs not specified

对于jquery.iecors.js而言,除了几处不同的名称类型外,它还失踪了投递手。 添加这一行文似乎可以确定。

xdr.onprogress = function () {};

对我来说,这个问题涉及多个查询功能,这些职能是使用XDomainRequests作为单一批量功能。 网上服务器显示,对远程服务器的所有要求都会减少,但最后一项。 在每组工作之前,先进行警告。 因此,我结束了我的特别提款权的援引(例如新的窗口)。 XDomainRequest) in the loop so, a new instance will be established for each query to the Yong Service. 每个结果都通过获得ElementById(id)值插入不同的投入箱。 随着时间的推移,我可以认为,现在每件价值中,每件价值就按顺序填充,没有任何问题。 毫不拖延,它几乎是瞬时的。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签