Need to access cookie to set session value
Hello!
Currently we're trying to develop an external application that, when you click on a url, opens a certain Thingworx page via iframe. However, the pages we're trying to open are dependent on certain session values. So I've been trying to use ContentLoaderFunction's SetGlobalSessionStringValue to manage that.
Unfortunately, it looks like I can't submit any session values and have those changes be reflected in the browser unless I already have the value for the session cookie JSESSIONID. It's meant to be included in the request header of SetGlobalSessionStringValue.
I found the GetCookies service, and it gets me a JSESSIONID. However, the one it returns never reflects the one that is currently showing in my browser, and it changes every time I run the service.
Is there something I'm misunderstanding? Is there a way to access the current JSESSIONID so I can submit a change to session string values and have them be reflected in the web page? Please help if you can.

