写日志 刷新 共 1 篇

vb6.0,killCookie

2010-10-14 22:22:42 海蓝港湾
Private Sub killCookie()
    Dim i As Long
    Dim strCookies() As String, strCookie() As String
   
    strCookies = Split(Me.WebBrowser1.Document.cookie, ";")
    For i = 0 To UBound(strCookies)
        strCookie = Split(strCookies(i), "=")
        If UBound(strCookie) = 1 Then
            InternetSetCookie Me.WebBrowser1.LocationURL, strCookie(0), ""
        End If
    Next
 
End Sub
阅读全文 编辑 删除

Powered by BBSxp /Licence © 1998-2005
Script Execution Time:0ms
晋ICP备07500169号-1