Mauri Posted July 18, 2018 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted July 19, 2018 Share Posted July 19, 2018 Hi, http://www.unigui.com/doc/online_help/handling-concurrency.htm Quote Link to comment Share on other sites More sharing options...
Mauri Posted July 19, 2018 Author Share Posted July 19, 2018 Cool ! Thank you Quote Link to comment Share on other sites More sharing options...
Mauri Posted July 19, 2018 Author Share Posted July 19, 2018 Cool ! Thank you Quote Link to comment Share on other sites More sharing options...
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.