本帖最后由 fsdsdffdsa 于 2014-6-30 16:49 编辑
我这样写的
[C#] 纯文本查看 复制代码 foreach (CookieItem s in HttpCookieHelper.GetCookieList(result.Cookie))
{
if (s.Key.Contains("nm_key") || s.Key.Contains("nm_code") || s.Key.Contains("key_visit") || s.Key.Contains("key_word_session") ||
s.Key.Contains("key_word_temp") || s.Key.Contains("session_cid") || s.Key.Contains("cid_refer") || s.Key.Contains("refer_na") ||
s.Key.Contains("temporary_na") || s.Key.Contains("session_na") || s.Key.Contains("access_log") || s.Key.Contains("JSESSIONID") ||
s.Key.Contains("email") || s.Key.Contains("userId") )
{
strImageCookie += HttpCookieHelper.CookieFormat(s.Key, s.Value);
}
}
[C#] 纯文本查看 复制代码 session_na=1404117964529; domain=.nuomi.com; path=/; expires=Mon, 30-Jun-2014 09:16:04 GMT,cid_refer=0; domain=.nuomi.com; path=/,session_cid=0; domain=.nuomi.com; path=/; expires=Mon, 30-Jun-2014 09:16:04 GMT,key_word_temp=0; domain=.nuomi.com; path=/,key_word_session=0; domain=.nuomi.com; path=/; expires=Mon, 30-Jun-2014 09:16:04 GMT,nm_code=0; domain=.nuomi.com; path=/; expires=Mon, 30-Jun-2014 09:16:04 GMT,nm_key=246ebf1757bc6974c99654ee11cf8705.1; domain=.nuomi.com; path=/; expires=Mon, 30-Jun-2014 09:16:04 GMT,BAIDUID=76D34AA98189E4FF50E487C27E1DFD8F:FG=1; expires=Tue, 30-Jun-15 08:46:04 GMT; max-age=31536000; path=/; domain=.baidu.com; version=1,BAIDUID=76D34AA98189E4FF720EE22CBF0B0108:FG=1; expires=Tue, 30-Jun-15 08:46:04 GMT; max-age=31536000; path=/; domain=.baidu.com; version=1session_na=1404117964529;cid_refer=0;session_cid=0;key_word_temp=0;key_word_session=0;nm_code=0;nm_key=246ebf1757bc6974c99654ee11cf8705.1;
大大。。。。。。怎么还是有杂项。。。。。,
|