| 
 | 
	
 
马上加入TC
您需要 登录 才可以下载或查看,没有帐号?立即注册  
 
x
 
- function setIECookie(weburl,cookie)
 -     ret=dllcall("wininet.dll","bool","InternetSetCookieExA","char*",weburl,"char *","qq","char *","0350910378","int",系统常量.INTERNET_COOKIE_THIRD_**,"int",0)
 -     tt
 -     str.split(cookie,";",tt)
 -     count
 -     arraysp.size(tt,count)
 -     for(i=0;i<(count-1);i++)
 -         tt1
 -         str.split(str.strtrim(tt),"=",tt1)
-         if(tt1[0]!="HttpOnly")
 -             ret=dllcall("wininet.dll","BOOL","InternetSetCookieA","char *",weburl,"char *",tt1[0],"char *",tt1[1])
 -         else
 -             ret=dllcall("wininet.dll","BOOL","InternetSetCookieA","char *",weburl,"char *",tt1[0],"char *","")
 -         endif
 -         调试输出(i)
 -     endfor
 
  
  
 |   
 
 
 
 |