黑羽祭 发表于 2012-6-15 11:23:44

web_custom_request中的sap-ext-sid=xxx如何制造关联

录制了一个脚本,是表单中的一个输入框,当输入框输入一个值后,移开当前焦点后,未点提交前,就向服务器发送了如下包,且回放失败。

请问:
1.Body中的sap-ext-sid,sap-wd-cltwndid,sap-wd-secure-id每次都不一样,这些值是什么意思?如何进行关联?
2.%EE%80%84 能知道是指代的什么么?


web_custom_request("PageBuilder",
                "URL=http://cedev.xxxxxxx.com/webdynpro/dispatcher/sap.com/pb/PageBuilder",
                "Method=POST",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://cedev.xxxxxxxxx.com/webdynpro/dispatcher/sap.com/pb/PageBuilder;jsessionid={JSESSIONID}",
                "Snapshot=t1.inf",
                "Mode=HTML",
                "Body=sap-ext-sid=jZjKDcbYMaPYqdc3Ovzxvw--vrMp9wutkzEjLuIIWithPw--&sap-wd-cltwndid=WID1339573937804&sap-wd-norefresh=X&sap-wd-secure-id=9EQ-hsNT5QtCU3fyrcCIww%3D%3D&SAPEVENTQUEUE="
                "InputField_Change%EE%80%82Id%EE%80%84aaaa.CreateStoreView.StoreName%EE%80%85Value%EE%80%84123123%EE%80%83%EE%80%82ClientAction%EE%80%84submit%EE%80%85Delay%EE%80%84full%EE%80%83%EE%80%82urEventName%EE%80%84INPUTFIELDCHANGE%EE%80%83%EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B%22iCursorPosX%22%3A%200%2C%20%22iSelectionStart%22%3A%20-1%2C%20%22iSelectionEnd%22%3A%20-1%2C%20%22sFocussedId%22%3A%20%22aaaa.CreateStoreView.Stor"
                "eOwner%22%2C%20%22sApplyControlId%22%3A%20%22aaaa.CreateStoreView.StoreOwner%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84false%EE%80%83%EE%80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%EE%80%83",
                LAST);

云层 发表于 2012-6-15 12:20:48

关联和内容无关和结构相连。。。。

黑羽祭 发表于 2012-6-15 12:50:16

回复 2# 云层
这样啊~
那遇到这样的Body中每次都不一样的值该如何处理呢?

黑羽祭 发表于 2012-6-18 09:12:34

sap-ext-sid,sap-wd-cltwndid,sap-wd-secure-id的问题用web_reg_save_param函数解决了。
页: [1]
查看完整版本: web_custom_request中的sap-ext-sid=xxx如何制造关联