IE7中双重请求提交
任何人都有 IE7 向网络服务器提交两次请求的经验(或者更好的解决方案)吗?
看来我发送的任何 POST 或 GET 都被调用了两次。这只发生在 IE7 中。 Chrome、FF、Safari 和 IE8 都可以。
我在开发者工具中使用浏览器模式“通过”IE8 运行 IE7 - 这可能是原因吗?
Any body have any experience (or even better a solution) to IE7 submitting a request to a webserver twice?
Its seems that any POST or GETs I send are being called twice. This only happens in IE7. Chrome, FF, Safari and IE8 are fine.
I'm running IE7 "through" IE8 using Browser Mode in developer tools - could this be the cause?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
刚刚追根究底 - 问题在于添加了 javascript 以使 Facebook 服务器 fbml 工作。
有问题的代码是这样的:
该代码在一个图块中使用,使其对所有页面都是通用的。将其移至使用它的单个页面(邀请朋友使用应用程序)即可解决该问题。
希望这对某人有帮助!
Just got to the bottom of this - the problem was the javascript added to make Facebooks server fbml work.
The offending piece of code was this:
This code was used in a tile which made it common to all pages. Moving it to a single page where its used (invite friends to application) cleared the issue right up.
Hope this helps somebody!
除了
之外,您是否还使用 JavaScript
.submit()
?Are you using the JavaScript
.submit()
in addition to your<input type="submit">
?