SysSingleton optional properties
(Replacing message template with parser tag) |
No edit summary |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | <message>Write the content here to display this box</message> | ||
See also: [[SysSingleton GetSystemUrl]] | '''See also:''' [[SysSingleton GetSystemUrl]] | ||
Turnkey now checks for filled SysSingleton properties | 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. | ||
* From 2023-10-17 we call a method OnCurrentUserChanged if found on SysSingleton whenever the CurrentUser is set or nulled out | * 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]] | [[File:2021-09-23 12h32 30.png|none|thumb]]'''See also:''' [[SHA512ComputeHash,_SHA256ComputeHash_and_BitConverterToString]] | ||
{{Edited|July|12|2024}} | |||
[[Category:MDriven Turnkey]] | [[Category:MDriven Turnkey]] | ||
Revision as of 05:06, 6 December 2024
This page was created by Hans.karlsen@mdriven.net on 2021-09-23. Last edited by Stephanie@mdriven.net 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.
- 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.
See also: SHA512ComputeHash,_SHA256ComputeHash_and_BitConverterToString