|
回复 1# 的帖子
{
web_reg_save_param("session_name",
"LB=name=userSession value=",
"RB=>",
"Ord=3",
LAST);
web_url("mercuryWebTours",
"URL=http://127.0.0.1:1080/mercuryWebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_reg_find("Text=aa",
LAST);
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/mercuryWebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?in=home",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={session_name}", ENDITEM,
"Name=username", "Value=aa", ENDITEM,
"Name=password", "Value=1234", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=0", ENDITEM,
"Name=login.y", "Value=0", ENDITEM,
LAST);
web_image("SignOff Button",
"Alt=SignOff Button",
"Snapshot=t3.inf",
LAST);
return 0;
}
怎么会这样错呢
Action.c(9): Error -26377: No match found for the requested parameter "session_name". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
Action.c(9): web_url("mercuryWebTours") highest severity level was "ERROR", 52180 body bytes, 1566 header bytes [MsgId: MMSG-26388] |
|