Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
We have an application which needs to run in the control room of the plant. This screen should show 24/7 without having to re-login by the operators. I know we can set the Session Idle time for all the users, but this is not preferred because also other users can access the application (and other application on the same platform) where people can have the session timeout to not be logged in without knowing.
I found a post to track user activity in the mashup and then run a timer to logout users actively but this also not ideal because we then need to do it for every mashup/application we have build.
Thanks for helping out.
Solved! Go to Solution.
Instead of Login via username & password, you can try to log in to the Mashup using an AppKey.
You can append the appKey as part of the URL:
http://<ThingWorxServer>:<ThingWorxPort>/Thingworx/Runtime/index.html?appKey=<YourAppKeyHere>&x-thingworx-session=true#mashup=<mashup_name>
Note: to do so "Allow Application key as URL Parameter" must be activated in the configuration of the PlatformSubsystem.
Instead of Login via username & password, you can try to log in to the Mashup using an AppKey.
You can append the appKey as part of the URL:
http://<ThingWorxServer>:<ThingWorxPort>/Thingworx/Runtime/index.html?appKey=<YourAppKeyHere>&x-thingworx-session=true#mashup=<mashup_name>
Note: to do so "Allow Application key as URL Parameter" must be activated in the configuration of the PlatformSubsystem.
Alternatively you can access the mashup without activating the "Allow Application key as URL Parameter" checkbox, by using a custom header in the browser with AppKey.
This can be achieved for example in firefox by using the "modify header value" extension. The header configuration would then look like the following: