WinJS.xhr立即返回 [英] WinJS.xhr returns immidiately

查看:77
本文介绍了WinJS.xhr立即返回的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我对WinJS.xhr的调用没有问题,除非我一个接一个地调用相同的url两次。在这种情况下,第一个调用是从服务器获取数据,但第二个调用立即返回第一个调用的数据而没有真正的
启动和对远程服务器的http请求。任何帮助都是适用的。


BR,


穆罕默德 

解决方案

< blockquote>

Hi Mohammad,


你能分享一些能够重现问题的简单代码吗?


-Jeff


Hi,

My call to the WinJS.xhr has no problem except when I call the same url twice one after the other. In that case, the first call is getting the data from the server but the second call returns immediately with the data of the first call without really launching and http request to the remote server. Any help is appriciated.

BR,

Mohammad 

解决方案

Hi Mohammad,

Can you share some real simple code that reproduces the problem?

-Jeff


这篇关于WinJS.xhr立即返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆