frank_liu 发表于 2010-3-22 17:12:49

怎么确定这个关联的左右边界?

要关联sessionId,确定其的左右边界,Recording_Log中相关日志:

"\tConstants.viewingSessionId = \"20100322_140911_963\";\t\n"

我的web_reg_save_param():
web_reg_save_param("SID",
"LB=Constants.viewingSessionId =",
"RB=",
LAST);

运行后在日志中查看:
Action.c(126): Notify: Saving Parameter "SID ="20100322_165950_552";\t\n// ]]>\n</script>\n\t\r\n\r\n\t<script type="text/javascript">\r\n\t// <![CDATA[\r\n\t\tvar hasSVGSupport = false;\r\n\t\tvar useVBMethod = false;\r\n\t\tif ( navigator.mimeTypes != null && navigator.mimeTypes.length > 0 )\r\n\t\t{\r\n\t\t    if ( navigator.mimeTypes["。。。。。
Action.c(560): Notify: Parameter Substitution: parameter "SID" =" "20100322_165950_552";\t\n// ]]>\n</script>\n\t\r\n\r\n\t<script type="text/javascript">\r\n\t// <![CDATA[\r\n\t\tvar hasSVGSupport = false;\r\n\t\tvar useVBMethod = false;\r\n\t\tif ( navigator.mimeTy。。。。
==============================================================================
边界貌似错了,这个左右边界还要怎么确定?

云层 发表于 2010-3-22 17:15:51

web_reg_save_param("SID",
"LB=Constants.viewingSessionId =",
"RB=\";\t\n",
"ORD=ALL",
LAST);

frank_liu 发表于 2010-3-22 17:47:29

Action.c(125): Notify: Saving Parameter "SID_1 ="20100322_173912_488"
Action.c(125): Notify: Saving Parameter "SID_count = 1"



Action.c(559): Warning: The string 'SID' with parameter delimiters is not a parameter.
Action.c(574): Warning: The string 'SID' with parameter delimiters is not a parameter.
Action.c(574): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://*。*。*。*/preview?__sessionId={SID}&__imageid=file3d993d99127844ec44e70.jpg"       
Action.c(574): web_url("preview") highest severity level was "ERROR", 2448 body bytes, 176 header bytes       

不中!
后面这个HTTP Status-Code=500 后台是报session is not available or has expired.应该没关联好。

云层 发表于 2010-3-22 17:51:57

=。=不是抓到了么,你把ord=all 改成ord=1就行了,然后就后面不会出错了

frank_liu 发表于 2010-3-22 18:13:41

:victory:
抓到了!
Action.c(574): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://。。。。/preview?__sessionId= "20100322_180447_436&__imageid=file3d993d99127844ec44e70.jpg"       
Action.c(574): web_url("preview") highest severity level was "ERROR", 2448 body bytes, 176 header bytes       
Action.c(574): Notify: Transaction "search" ended with "Fail" status (Duration: 5.5655 Wasted Time: 0.0024).

但还是这个错误:The viewing session is not available or has expired.按理说不应该出现,呵呵
过下再查查,是不是还有什么没关联



。。。

frank_liu 发表于 2010-3-22 23:52:06

上面那个解决了!
不过又出来个关联边界的问题(:Q ,跟这个边界卯上了!)
------------------------------------------------------------------------------------------------------------
"\t\t.style_1 { background-image: url('/preview?__sessionId=20100322_140911_963&amp;__imageid=f"
"ile3d993d99127844ec44e70.jpg'); background-repeat: repeat-x; background-position: left top;}\n"
---------------------------------------------------------------------------------------------------------------
3d993d99127844ec44e70是变量

web_reg_save_param("POTO",
    "LB=ile",
   "RB=.jpg');",
   "ORD=ALL",
   LAST);

结果什么也找不到。。。
Action.c(131): Error -26377: No match found for the requested parameter "POTO". 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       
Action.c(131): Notify: Saving Parameter "POTO_count = 0"

zhengaiqi 发表于 2013-6-7 11:06:07

关注中。。

利勇lmm 发表于 2013-11-21 19:00:05

HTTP模式不会报错,但是转成URL模式就会报错,
ction.c(824): Error -26377: No match found for the requested parameter "test". 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   
Action.c(824): web_concurrent_end highest severity level was "ERROR", 352344 body bytes, 7071 header bytes   
Ending action Action.

麻烦大家了,谢谢!

chao801 发表于 2014-5-8 09:01:58

我来学习的

王麦麦 发表于 2014-5-29 11:48:25

你这些标点符号都不转义的?工具怎么识别?
页: [1]
查看完整版本: 怎么确定这个关联的左右边界?