模拟清除SSL状态按钮 [英] Simulate Clear SSL State button

查看:146
本文介绍了模拟清除SSL状态按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨开发者。

在我的网络应用程序中,我想要一个模拟按钮"清除SSL状态"的按钮。成立于InternetOptions / ContentTab。此按钮可以使用vcscript等来调用客户端dll。

我在旧线程[1]中看到"可能是"一种方法,使用
CryptReleaseContext函数,或使用SslEmptyCache函数。

有人这样做吗?
这有可能吗?
你有什么想法吗?问候,问候,

弗拉基米尔


[1] http://www.derkeiler.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2003-02/0127.html

解决方案

我在最近工作的Asp.Net网络应用程序上遇到了同样的挑战。我能够通过使用以下javascript代码(仅限IE)来实现此功能:











< script type = 'text / javascript' >
document .execCommand( " ClearAuthenticationCache" );
< / script>

Hi Developers.

In my web application, I want to have a button that simulate the button "Clear SSL State" founded in InternetOptions/ContentTab. This button can use a vcscript, etc. to call a client side dll.

I saw in older threads[1] that "could be" a way to do that, using
CryptReleaseContext Function, or using SslEmptyCache Function.

Somebody do that?
Is this possible to do?
Do you have any ideas?

Regards,

Vladimir

[1] http://www.derkeiler.com/Newsgroups/microsoft.public.dotnet.framework.aspnet.security/2003-02/0127.html

解决方案

I came across this same challenge on an Asp.Net web application I recently worked on.  I was able to achive this functionality by using the following javascript code (IE only):

<script type='text/javascript'>  
   document.execCommand("ClearAuthenticationCache");  
</script> 


这篇关于模拟清除SSL状态按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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