|
录下来的代码:
// 想用
web_reg_save_param("sSessionId",
"LB/IC=scriptSessionId=",
"RB/IC=\\nc0-scriptName=",
"Ord=1",
"Search=ALL",
"RelFrameId=1",
LAST);
//来读取web_custom_request的scriptSessionId。但是发现 scriptSessionId是在post的时候发给服务器的,
//使用url模式也没看到这个值怎么来的。请问有办法关联这个scriptSessionId值吗?
web_custom_request("focAction.getFlightView.dwr",
"URL=http://{MyUrl}/dwr/call/plaincall/focAction.getFlightView.dwr",
"Method=POST",
"Resource=0",
"RecContentType=text/javascript",
"Referer=http://{MyUrl}/report/hardReportFlyAdd.do",
"Snapshot=t46.inf",
"Mode=HTML",
"EncType=text/plain",
"Body=callCount=1\npage=/report/hardReportFlyAdd.do\nhttpSessionId={JSessionID}\nscriptSessionId=XX##XXX##X##XX@@%%&&\nc0-scriptName=focAction\nc0-methodName=getFlightView\nc0-id=0\nc0-param0=string:2010-04-19\nc0-param1=string:CK221\nbatchId=1\n", LAST); |
|