SysSingleton optional properties
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* SysSingleton.SystemType:String, Transient - if found Turnkey will fill in with ''TurnkeyNetFramework'' or ''TurnkeyNetCore'' | * SysSingleton.SystemType:String, Transient - if found Turnkey will fill in with ''TurnkeyNetFramework'' or ''TurnkeyNetCore'' | ||
* SysSingleton.UserAgent:String, Transient - if found Turnkey will fill in with User-agent from client | * SysSingleton.UserAgent:String, Transient - if found Turnkey will fill in with User-agent from client | ||
[[File:2021-09-23 12h32 30.png|none|thumb]] |
Revision as of 10:33, 23 September 2021
This page was created by Hans.karlsen on 2021-09-23. Last edited by Stephanie on 2025-02-18.
See also SysSingleton GetSystemUrl
Turnkey now check for SysSingleton properties that are filled if found(in StreamingApp_API_Base Open). Strongly suggest you have these non persistent to get the desired per user-session result:
- SysSingleton.ClientIp:String, Transient - if found Turnkey will fill in with ClientIp
- SysSingleton.SystemType:String, Transient - if found Turnkey will fill in with TurnkeyNetFramework or TurnkeyNetCore
- SysSingleton.UserAgent:String, Transient - if found Turnkey will fill in with User-agent from client