Hi All,
I am using js file in one of my script to encrypt password and a few other parameters. Below is snippet from the code which shows how the request is handled.
Sessionid, token are captured using correlation & password is parameterised.
char *pwd;
char *sessionID;
char *token;
sessionID=lr_eval_string("{correlated_sessionID_param}");
token=lr_eval_string("{correlated_token_param}");
web_js_run(
"code=function('pwd','sessionID','token')",
"ResultParam=param",
SOURCES,
"File=File.js", ENDITEM,
LAST);
The issue is that, instead of the pwd, sessionID, token values, string "pwd", "sessionID", "token" are being passed to the javascript file.
Please help how I can send the values to js file.
Thanks in advance.
Regards,
Umesh