|
6#
楼主 |
发表于 2007-7-20 17:06:46
|
只看该作者
我把错误和代码发出来,大家帮忙看看!
vuser_init.c(7): Error -27791: Server "192.168.1.3" has shut down the connection prematurely
#include "lrw_custom_body.h"
vuser_init()
{
web_submit_data("login.aspx",
"Action=http://192.168.1.3/newcqms/login.aspx",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://192.168.1.3/newcqms/",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=__VIEWSTATE", "Value=/wEPDwUKMTc3MzgyNTY3OGRkMpsadlOHPetE0VCo5qdDd4hbuvs=", ENDITEM,
"Name=txtUserName", "Value=lhb1_cq", ENDITEM,
"Name=txtPwd", "Value=123", ENDITEM,
"Name=btnLogin", "Value=登录", ENDITEM,
"Name=__EVENTVALIDATION", "Value=/wEWBALR9ZmxCAKl1bKzCQKd+7qdDgKC3IeGDMiRTFvyhqJTFOpuDHEMJsc5+C4L", ENDITEM,
LAST);
lr_think_time( 15 );
web_url("index.aspx",
"URL=http://192.168.1.3/newcqms/index.aspx?action=",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=Images/bottombg.gif", "Referer=http://192.168.1.3/newcqms/Bottom.aspx", ENDITEM,
"Url=Images/Default/rl.gif", "Referer=http://192.168.1.3/newcqms/default.aspx", ENDITEM,
"Url=Images/Default/line.gif", "Referer=http://192.168.1.3/newcqms/default.aspx", ENDITEM,
"Url=Images/Default/leftTopbg.gif", "Referer=http://192.168.1.3/newcqms/Menu.aspx", ENDITEM,
"Url=Images/Default/subMenubg.gif", "Referer=http://192.168.1.3/newcqms/default.aspx", ENDITEM,
LAST);
return 0;
} |
|