如何使用Internet Explorer和SSL时启用自动完成? [英] How to enable autocomplete when using Internet Explorer and SSL?

查看:141
本文介绍了如何使用Internet Explorer和SSL时启用自动完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在同时满足以下两个条件:

When both of the following conditions are true:

1.The page was delivered over HTTPS

2.The page was delivered with headers or a META tag that prevents caching

...自动完成功能被禁用,无论autocomplete属性的存在或价值。这句话适用于IE5,IE6,IE7和IE8。请参见 http://msdn.microsoft.com/en-us /library/ms533486(VS.85).aspx

我如何重写IE的默认行为给予上述情况?

How can I override IEs default behavior given the scenario above?

这是选项,因为这种行为只发生在IE中使用不同的浏览器。但是,改变浏览器将是一个重大的痛苦和我的用户preFER坚持使用IE浏览器。先谢谢了。

An option is to use a different browser since this behavior only occurs in IE. However, changing browsers would be a major pain and my users prefer to stick with IE. Thanks in advance.

推荐答案

我们的使用了无缓存指令的目标是prevent形式被多次提交。意想不到的后果是自动完成停止工作。我们发现,更改为(Response.CacheControl =必须重新生效,私有)让我们再次用自动完成,而使用SSL。希望这可以帮助别人。

Our goal with using the "no-cache" directive was to prevent forms from being submitted more than once. The unexpected consequence was that autocomplete stopped working. We discovered that changing to (Response.CacheControl = "must-revalidate, private") allows us to use autocomplete once again while using SSL. Hope this helps someone else.

这篇关于如何使用Internet Explorer和SSL时启用自动完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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