Mauri Posted July 18, 2018 Posted July 18, 2018 we have a list of messages that are stored in the database and every time a message is triggered I make a query in the database. As this list changes very seldom we will read from the database at the time of initializing the IIS Server (We use ISAPI). I would like to store all messages in a variable of type TDictionary, however I do not know if I can leave it in ServerModule? I was wondering if multiple sessions fetching at the same time this single variable in ServerModule can give some conflict or problem? The idea would be to avoid having such a variable for each session and having only 1 for the system as a whole. Does anyone have any experience with global variables in this regard? Quote
Sherzod Posted July 19, 2018 Posted July 19, 2018 Hi, http://www.unigui.com/doc/online_help/handling-concurrency.htm Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.