How can I send more information via GET method? in VALENCE -
i need valence portal.
i open app direct link here:
http://192.168.1.1:7040?display=desktop&app=1001
but need more data on this, pe: 'coduser' if put &coduser=1 doesn't work
http://192.168.1.1:7040?display=desktop&app=1001&coduser=1
i extecute alert , result read url:
http://192.168.1.1:7040/desktop/examples/p01/index.html?app=1001&key=xxxxxxx&lang=en
url doesn't contains "coduser".
how can send more information via method?
thanks, ivan.
i found solution problem. not best solution aceptable solution, if knows other, tell me, please.
my solution: created new hook.js. on file can read current url (here read url, 'coduser' included).
on new hook:
cod=foundparameterurl('coduser');//personal function, include current url (location.href) ext.util.cookies.set("coduser",cod);
later on app, read cookie:
var cod = ext.util.cookies.get("coduser");
and continue normality
if knows send information hook.js app tell me please.
thanks all, ivan.
Comments
Post a Comment