IE8“数据执行预防”设置隐藏字段值时抛出的错误 [英] IE8 "Data Execution Prevention" error thrown when setting hidden field value

查看:56
本文介绍了IE8“数据执行预防”设置隐藏字段值时抛出的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Internet Explorer 8(发布候选版1)来测试我的Web应用程序,并且遇到了一些重大问题。我希望你可以帮我这个。


我有一个JavaScript对象跟踪< div>的水平滚动位置页面上的元素。它设置一个隐藏字段,以便在将页面提交给服务器时,服务器代码能够检索当前滚动位置。当页面被发送回浏览器时,服务器端代码初始化JavaScript对象并保留滚动位置。


这已经有一段时间了......但是使用新的IE8 RC1我收到了数据执行预防错误消息。它会在提示中显示:


数据执行保护有助于防止病毒和其他安全威胁造成的损害。



当我点击关闭消息时这个提示中的按钮IE8会继续崩溃。


当我存储< div>的滚动位置时,会出现此消息在用于将滚动位置中继到服务器的隐藏字段中:

展开 | 选择 | Wrap | 行号

解决方案

我不知道为什么它会触发该错误,而是快速搜索数据执行预防。表明您可以在非64位版本的IE8中将其关闭。这有帮助吗?


这没有用,因为最终用户在使用我的网络应用程序时不必玩浏览器设置。

我正试图找到一个不涉及隐藏领域的解决方案......但不知道我将如何实现这一目标。


< blockquote>您可以使用URL或cookie。


I''ve been trying to test my web application using Internet Explorer 8 (release candidate 1) and have been experiencing some major problems. I''m hoping you can help me with this one.

I have a JavaScript Object that tracks the horizontal scroll position of a <div> element on the page. It sets a hidden field so that when the page is submitted to the server, the server code is able to retrieve the current scroll position. When the page is sent back to the browser, the server side code initializes the JavaScript Object with the scroll position retained.

This has all been working for quite some time now....but with the new IE8 RC1 I''m getting a Data Execution Prevention error message. It''s displayed in a prompt informing me that:

Data Execution Prevention helps protect against damage from viruses and other security threats.

When I hit the "close message" button in this prompt IE8 proceeds to crash.

This message appears when I am storing the scroll position of the <div> in the hidden field used to relay the scroll position to the server:

Expand|Select|Wrap|Line Numbers

解决方案

I don''t know why it triggers that error, but a quick search on "Data Execution Prevention" shows that you can switch it off in non-64bit versions of IE8. Does that help?


It doesn''t help because the end users shouldn''t have to be playing around their browser settings while using my web application.

I''m attempting to find a solution that doesn''t involve a hidden field...but have no idea how I''m going to accomplish this yet.


You could use the URL or cookies.


这篇关于IE8“数据执行预防”设置隐藏字段值时抛出的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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