SysSingleton optional properties
No edit summary
(Automatically adding template at the end of the page.)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:


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:
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 the 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]]
* From 2023-10-17 we call a method OnCurrentUserChanged if found on SysSingleton whenever the CurrentUser is set or nulled out - this happens when a user logs in our out, for MVC it happens on postback
[[File:2021-09-23 12h32 30.png|none|thumb]]See also [[SHA512ComputeHash,_SHA256ComputeHash_and_BitConverterToString]]
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey]]
{{Edited|July|12|2024}}

Latest revision as of 15:47, 10 February 2024

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.
  • From 2023-10-17 we call a method OnCurrentUserChanged if found on SysSingleton whenever the CurrentUser is set or nulled out - this happens when a user logs in our out, for MVC it happens on postback
2021-09-23 12h32 30.png

See also SHA512ComputeHash,_SHA256ComputeHash_and_BitConverterToString

This page was edited 97 days ago on 02/10/2024. What links here