L lx8598 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-05 #1 在WinXP+sp2下的IE有一个选项:“清除SSL状态”,如何编程实现它?用DELPHI或其它语言都行,请高手赐教! 注:清除SSL缓存和清除文件缓存是不一样的,清除SSL缓存主要是清除SSL的Session。
在WinXP+sp2下的IE有一个选项:“清除SSL状态”,如何编程实现它?用DELPHI或其它语言都行,请高手赐教! 注:清除SSL缓存和清除文件缓存是不一样的,清除SSL缓存主要是清除SSL的Session。
Z znj_326 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-05 #2 Tcc = function (szTarget:LPSTR;dwFalgs:WORD): Boolean; stdcall;var handle:integer; cc : Tcc; libhandle:=LoadLibrary('schannel.dll');if libhandle <> 0 then begin @cc := GetProcAddress(libhandle, 'SslEmptyCacheA'); cc(nil,0); FreeLibrary(libhandle); end; InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0);
Tcc = function (szTarget:LPSTR;dwFalgs:WORD): Boolean; stdcall;var handle:integer; cc : Tcc; libhandle:=LoadLibrary('schannel.dll');if libhandle <> 0 then begin @cc := GetProcAddress(libhandle, 'SslEmptyCacheA'); cc(nil,0); FreeLibrary(libhandle); end; InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0);
L lx8598 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-08 #3 znj_326 : 您好: InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0); 是引用了哪个单元。INTERNET_OPTION_END_BROWSER_SESSION: 是啥意思??在线等。
znj_326 : 您好: InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0); 是引用了哪个单元。INTERNET_OPTION_END_BROWSER_SESSION: 是啥意思??在线等。
L lx8598 Unregistered / Unconfirmed GUEST, unregistred user! 2009-02-09 #4 znj_326 : 您好:var libhandle, h:THandle; cc : Tcc;begin libhandle:=LoadLibrary('schannel.dll'); if libhandle <> 0 then begin @cc := GetProcAddress(libhandle, 'SslEmptyCacheA'); cc(nil,0); FreeLibrary(libhandle); end; //uses shellapi, WinINet,shlobj InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0);这个方法不灵,没有清除。
znj_326 : 您好:var libhandle, h:THandle; cc : Tcc;begin libhandle:=LoadLibrary('schannel.dll'); if libhandle <> 0 then begin @cc := GetProcAddress(libhandle, 'SslEmptyCacheA'); cc(nil,0); FreeLibrary(libhandle); end; //uses shellapi, WinINet,shlobj InternetSetOption(NiL, INTERNET_OPTION_END_BROWSER_SESSION, 0, 0);这个方法不灵,没有清除。