|
8#
楼主 |
发表于 2008-9-7 20:58:01
|
只看该作者
这样插入事务对吗
谢谢大家,云层的解释太形象了,
那下面这段代码,我加入事务的位置是正确的吧,test_begin,test_end
test_begin
web_submit_data("UserLogin.aspx",
"Action=http://passport.csdn.net/UserLogin.aspx",
"Method=POST",
"RecContentType=text/html",
"Referer=http://passport.csdn.net/UserLogin.aspx",
"Snapshot=t3.inf",
"Mode=HTML",
ITEMDATA,
"Name=__EVENTTARGET", "Value=", ENDITEM,
"Name=__EVENTARGUMENT", "Value=", ENDITEM,
"Name=__VIEWSTATE", "Value={Siebel_Analytic_ViewState2}", ENDITEM,
"Name=ctl00$CPH_Content$tb_LoginNameOrLoginEmail", "Value=wwwql", ENDITEM,
"Name=ctl00$CPH_Content$tb_Password", "Value=592111", ENDITEM,
"Name=ctl00$CPH_Content$tb_ExPwd", "Value=bqedh", ENDITEM,
"Name=ClientKey", "Value=84435d2c-577d-453f-80e9-276e6909df93", ENDITEM,
"Name=from", "Value=http://hi.csdn.net/my.html", ENDITEM,
"Name=MailParameters", "Value=", ENDITEM,
"Name=PrePage", "Value=http://www.csdn.net/", ENDITEM,
"Name=MailParameters", "Value=", ENDITEM,
"Name=ctl00$CPH_Content$Image_Login.x", "Value=41", ENDITEM,
"Name=ctl00$CPH_Content$Image_Login.y", "Value=14", ENDITEM,
EXTRARES,
"Url=http://hi.images.csdn.net/css/images/body_bg_repeat.gif", "Referer=http://hi.csdn.net/my.html", ENDITEM,
"Url=http://hi.images.csdn.net/css/images/announcements.gif", "Referer=http://hi.csdn.net/my.html", ENDITEM,
"Url=http://profile.csdn.net/hellowuheng/picture/2.jpg", "Referer=http://hi.csdn.net/my.html", ENDITEM,
"Url=http://profile.csdn.net/willli/picture/2.jpg", "Referer=http://hi.csdn.net/my.html", ENDITEM,
"Url=http://profile.csdn.net/f3690/picture/2.jpg", "Referer=http://hi.csdn.net/my.html", ENDITEM,
LAST);
test_end |
|