Hello everybody,
I´m trying to solve problem with using REST API on FME Server. All I need is to generate new session ID for every data upload to FME server. Is there any special function to generate new session ID?
Now, if I upload new datafile, the FME Server still keeps the same session ID, e.g.:
{"serviceResponse": {
"statusInfo": {"status": "success"},
"session": "DDDB81451D5F0192DE8292DD71A0EF46",
"files": {
"path": "",
"folder": [{"name": ""}]
}
}}
I tried to use getSession function (meant there: https://knowledge.safe.com/questions/57605/javascript-rest-example-keeps-sessionid.html) but i doesnt work, because it returns still the same session ID. How to generate new one please?
Thank You so much for all tips!
Lubo