SysSingleton optional properties
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
See also [[SysSingleton GetSystemUrl]] | See also: [[SysSingleton GetSystemUrl]] | ||
Turnkey now | Turnkey now checks for filled SysSingleton properties - if found(in StreamingApp_API_Base Open). We strongly suggest you have these as non-persistent to get the desired per-user-session result: | ||
* SysSingleton.ClientIp:String, Transient - if found Turnkey will fill in with ClientIp | * 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.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 the client. | ||
[[File:2021-09-23 12h32 30.png|none|thumb]] | [[File:2021-09-23 12h32 30.png|none|thumb]] | ||
[[Category:MDriven Turnkey]] | [[Category:MDriven Turnkey]] |
Revision as of 10:39, 15 February 2023
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 checks for filled SysSingleton properties - if found(in StreamingApp_API_Base Open). We strongly suggest you have these as 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 the client.