|
Action()
{
web_set_max_html_param_len ("9999");
web_reg_save_param("usersession",
"LB=userSession value=",
"RB=>",
"ORD=1",
LAST);
web_url("WebTours",
"URL=http://127.0.0.1:2080/WebTours/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
//116265.726690968fQiAtVipDVzzzzzHDfiicpfAQQ
web_submit_data("login.pl",
"Action=http://127.0.0.1:2080/WebTours/login.pl",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:2080/WebTours/nav.pl?in=home",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={usersession}", ENDITEM,
"Name=username", "Value=wangjunjun", ENDITEM,
"Name=password", "Value=admin", ENDITEM,
"Name=JSFormSubmit", "Value=on", ENDITEM,
"Name=login.x", "Value=58", ENDITEM,
"Name=login.y", "Value=7", ENDITEM,
LAST);
web_url("SignOff Button",
"URL=http://127.0.0.1:2080/WebTours/welcome.pl?signOff=1",
"TargetFrame=body",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:2080/WebTours/nav.pl?page=menu&in=home",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
return 0;
}
|
|