|
我写了一个关联 如下代码:
web_reg_save_param("wen",
"LB/IC=userSession Value",
"RB=",
"Search=All",
"IgnoreRedirections=Yes",
LAST);
web_submit_data("login.pl",
"Action=http://10.41.4.122:1080/WebTours/login.pl",
"Method=POST",
"RecContentType=text/html",
"Referer=http://10.41.4.122:1080/WebTours/nav.pl?in=home",
"Snapshot=t29.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={wen}", ENDITEM,
"Name=username", "Value=baihua", ENDITEM,
"Name=password", "Value=123", ENDITEM,
"Name=JSFormSubmit", "Value=off", ENDITEM,
"Name=login.x", "Value=50", ENDITEM,
"Name=login.y", "Value=8", ENDITEM,
LAST);
当关联函数里的LB后面不加/IC的话 运行就会报错 报错如下:
Action.c(21): Error -26377: No match found for the requested parameter "wen". 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(21): web_url("WebTours") highest severity level was "ERROR", 6446 body bytes, 1562 header bytes [MsgId: MMSG-26388]
但加上/IC以后就可以正常通过
通过网上查找了解到/IC是忽略大小写用的 但问题是我LB内的内容大小写和所需关联的左边内容大小写完全一致:
"LB/IC=userSession Value", "Name=userSession", "Value={wen}", ENDITEM
为什么会出现这种情况 还有 那个错误到底是什么意思
求高手解答 |
|