webpageaddurl has session
I have a script snippet as below:
webpageaddurl has a session "H4s...." which changes every time.
But the session value is available only after the webpagesubmit. So the webpageaddurl fails.
Is there a way to handle this. I call Webpageurl again after the webpagesubmit with the session id ( sSessionInfo1 ) I receive by parsing the webpagesubmit output, to load the url again.
"cognos.cgi/gd/H4sIAAAAAAAAAAXBsQ5AMBAA0H8xMTS50157iEFSg0QrEQajqk gsxoqv9x4C1oZlxSGC2E9NAmQkoQGiOAwF1hxQmqpGUFwiK4XN Oo*DzT"O-9Ml-z*vsVbqvS94O5GyXpvsif29tVvyShqoYXQAAAA__/");
WebParseDataBoundEx(sSessionInfo1, STRING_COMPLETE, "sURL = '", 1, "'", WEB_FLAG_IGNORE_WHITE_SPACE | WEB_FLAG_CASE_SENSITIVE,1);
WebPageSubmit("formWarpRequest", FORMWARPREQUEST003, "Report Viewer - Top Downloaders (#1)"); // Form 1
Print("sSessionInfo1: " + sSessionInfo1);
Re: webpageaddurl has session
You'll need to parse that value from every page where the AddUrl call is being made and modify the call to use the parsed value instead