IE8形式不提交(间断) [英] IE8 Form Not Submitting (Intermittent)

查看:120
本文介绍了IE8形式不提交(间断)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个复杂的传统的ASP系统,该系统运行良好多年,但最近已开始有一个奇怪和间歇性的问题。

在某些形式的,人会报告说,他们点击提交,但形式只是重置本身(或者,也许,浏览器只是重新加载形式 - 我的用户很可能无法看出其中的差别)。

最近,出现这种情况与IE8用户(我们使用)。看来只有用较大的形式(即提交了数据)发生。我们用一个空的动作标签的形式自行提交(即),我们使用POST。

我们从来没有听说过这样一个问题,直到最近。起初,它似乎是它可以与一个用户的计算机上信任区的设置,但我们现在已经得到了来自其他地方的一些报告和它的不太清楚,这是一个区域的问题。在我自己的机器,还运行IE8,我永远不会有问题。

有什么想法?


解决方案

一个解决方法可能是强制IE8为兼容模式,使以类似的方式到IE7的行为。

要做到这一点,必须将在&lt里面一个特殊的meta标签; HEAD>你的页面的部分。要做到这一点的理想场所将是一个母版页/模板。

 < META HTTP-EQUIV =X-UA-Compatible的内容=IE = EmulateIE7/>

希望这有助于。

I have a complex classic ASP system that has worked well for years but has recently started having a strange and intermittent problem.

On some forms, folks will report that they click "Submit" but that the form just resets itself (or, perhaps, the browser just reloads the form - my users are probably not able to tell the difference).

Most recently, this has happened to a user with IE8 (we do use ). It seems to happen only with larger forms (ie. more data submitted). We do use an empty action tag on the form to self-submit (ie. ) and we use POST.

We never heard about a problem like this until fairly recently. At first, it seemed that it could be related to "Trusted Zone" settings on one user's machine, but we've gotten a few reports from other places now and it's less clear that it is a zone issue. On my own machine, also running IE8, I never have a problem.

Any thoughts?

解决方案

One solution might be to force IE8 into compatibility mode, so that behaves in a similar manner to IE7.

To do this, you must place a special meta tag inside the <head> section of your page. An ideal place to do this would be in a master page/template.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Hope this helps.

这篇关于IE8形式不提交(间断)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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