|
- Status Code:
200 OK
- Request Headersview source
- Accept:
image/webp,*/*;q=0.8
- Accept-Encoding:
gzip,deflate,sdch
- Accept-Language:
zh-CN,zh;q=0.8
- Cache-Control:
max-age=0
- Connection:
keep-alive
- Cookie:
BIGipServerpool_jiastat=69249216.30755.0000; JSESSIONID=0001m2q41vACkIhHcGdbI_cWfiM:-O0LCFG
我的程序中
HttpItem item = new HttpItem()
{
URL = "http://192.168.5.54/jiastat/",//URL这里都是测试 必需项
Method = "get",//URL 可选项 默认为Get
ResultCookieType = ResultCookieType.CookieCollection
};
//得到HTML代码
HttpResult result = http.GetHtml(item);
result = http.GetHtml(item);
//web_cookie = result.Cookie.Replace("Path=/","").Trim().ToString();
web_cookie = result.Cookie;
textBox3.Text = result.Html;
textBox1.Text = web_cookie;
textbox1中显示为:JSESSIONID=0001m2q41vACkIhHcGdbI_cWfiM:-O0LCFG
为什么没有
BIGipServerpool_jiastat=69249216.30755.0000;
望飞哥或高手解答,感谢!
|
|