2011-12-13 18 views

回答

0

我相信这是一个客户端功能。 PHP将无法处理它。

1

如何强制服务器停止记得我,并再次索要证书

这是没有意义的。

如果服务器在没有任何证书的情况下“记住”您,那么您的身份验证机制存在一些问题。

更有可能浏览器记住您使用该网站的哪个证书。

1

symcbean是对的,是一个客户端问题。当处理ssl会话时, This thread与“注销”问题有关。以下javascript代码段被引用,并为ie/ff工作。

function logout() { 
     if (document.all == null) // FF, Opera, etc 
     { if (window.crypto) window.crypto.logout(); 
      else alert('no window.crypto')}  
     else // MSIE 6+ 
     { document.execCommand('ClearAuthenticationCache');};  
    } 
    function login() { 
     if (document.all == null) // FF, Opera, etc 
     { if (window.crypto) window.crypto.logout(); 
      else alert('no window.crypto') 
     }  
     else // MSIE 6+ 
     { alert('login in msie') 
      document.execCommand('ClearAuthenticationCache');};  
    } 
+1

链接不是答案。如果该链接失效(服务器停机等),那么你的答案变得毫无用处。你可以在链接页面的相关内容中进行编辑吗? – Charles

+0

你是绝对正确的。感谢提示! – bennomadic

相关问题