影响浏览器是否提示保存凭据

| 对于大多数具有用户名和密码对话框的网页,浏览器将提示用户是否要保存该表单的凭据: 但是,对于此登录页面,则不是。我找不到有关IE如何决定是否显示此对话框的任何好的数据。如何让IE显示该提示-假设没有用户设置胜过它?     
已邀请:
我的猜测是,由于该页面处于HTTPS模式,因此IE不允许执行自动完成功能,因为该页面表明不应允许HTTP缓存。 或正在使用Javascript提交表单。 有关更多详细信息,请参见本文。 http://blogs.msdn.com/b/ieinternals/archive/2009/09/11/troubleshooting-stored-login-problems-in-ie.aspx     
当IE配置为询问您问题时,它会根据您提交表单的方式询问或不询问。 使用“ 0”(即“提交”按钮)提交时,IE会询问您是否要保存密码。 如果您使用JavaScript提交表单(例如“ѭ1”),它将不会要求您保存密码。 在IE中尝试以下HTML(我尚未测试其他浏览器): 提交按钮要求您保存密码 提交链接不询问任何内容 HTML代码:
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">
<head id=\"Head1\">
    <title>Home Page </title>
    <link href=\"Styles/Site.css\" rel=\"stylesheet\" type=\"text/css\" />
</head>
<body>
    <form method=\"post\" action=\"Default.aspx\" id=\"Form1\">
    <div class=\"aspNetHidden\">
        <input type=\"hidden\" name=\"__VIEWSTATE\" id=\"__VIEWSTATE\" value=\"/wEPDwUJODcyMTYwNTY0ZGRfKmsji5yH9OZWyNlRsIwCOz1mu6uALjmUI+04ei8bkQ==\" />
    </div>
    User:
    <input name=\"ctl00$BodyContent$login$UserName\" type=\"text\" id=\"ctl00_BodyContent_login_UserName\"
        class=\"user-name\">
    Pass:
    <input name=\"ctl00$BodyContent$login$Password\" type=\"password\" id=\"ctl00_BodyContent_login_Password\">
    <input type=\"submit\" value=\"Submit\">
    <a href=\"javascript:document.getElementById(\'Form1\').submit();\">submit</a>
    </form>
</body>
</html>
如果选中此框以不再询问,则可以在IE选项中进行配置: 工具> Internet选项>内容>自动完成     

要回复问题请先登录注册