protected void readCookies(HttpURLConnection url_con){
List
if(cookieList != null){
for(String cookie : cookieList){
int p = cookie.indexOf("=");
String key = cookie.substring(0, p);
String value = cookie.substring(p+1, cookie.indexOf(";"));
cookies.put(key, value);
}
}
}
这个网站的cookie不是服务器set-cookie设置的,而是js脚本设置的。
可以用session啊,这样存在丢失
是不是360在后台封杀了,关了试试