web_submit_data("SolutionManage.aspx",
"Action=http://192.168.102.185/Route/SolutionManage.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.102.185/Route/SolutionManage.aspx",
"Snapshot=t6.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=GridView1$ctl03$lbtn_Init", ENDITEM,(EVENTTARGET这里传递的是checkBox选项的值,在此类列表中也许会常用到)
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__LASTFOCUS", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value=", ENDITEM,
"Name=header$hidtopmoduleid", "Value=8", ENDITEM,
"Name=header$hidroleid", "Value=4", ENDITEM,
"Name=tm2$hidmoduleid", "Value=8", ENDITEM,
"Name=tm2$hidroleid", "Value=4", ENDITEM,
"Name=ddl_Sample", "Value=0", ENDITEM,
EXTRARES,
HTTP/1.1 302 Found
Date: Wed, 27 Mar 2013 02:13:45 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 4.0.30319
Location: /Route/SolutionInit.aspx?SolutionID=11
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 155
Object moved Object moved to here.