Gustavo.deo Posted December 14, 2017 Share Posted December 14, 2017 I'm sorry for my english. I'm making an application where I need more than one Data Module. But I was in Doubt if I should use the UniDataModule or DataModule ... Can you guide me? Thank you!!! Quote Link to comment Share on other sites More sharing options...
Gustavo.deo Posted December 14, 2017 Author Share Posted December 14, 2017 Help me!!!! Quote Link to comment Share on other sites More sharing options...
albertovesx Posted December 14, 2017 Share Posted December 14, 2017 I'm sorry for my english. I'm making an application where I need more than one Data Module. But I was in Doubt if I should use the UniDataModule or DataModule ... Can you guide me? Thank you!!! Use uniDataModule. Quote Link to comment Share on other sites More sharing options...
davidizadar Posted December 14, 2017 Share Posted December 14, 2017 Gustavo, the right question is if you should create a managed or free data module. When you create the data module using the uniGUI Wizard (DataModule), the data module lifetime will be managed by uniGUI. It will be created automatically at the beginning and released when the user session is closed. If you choose to create a common data module, you will be responsible for creating and releasing it. You will find both types of data modules on the Hybrid demo application. Quote Link to comment Share on other sites More sharing options...
Gustavo.deo Posted December 19, 2017 Author Share Posted December 19, 2017 Thank you!!!But in the case of the Common Data module, when the user closes the WEB, does it terminate the session correctly or is there a wandering session ???? Quote Link to comment Share on other sites More sharing options...
davidizadar Posted December 26, 2017 Share Posted December 26, 2017 Sorry for the delay. Sessions are explicitly closed or they timeout. In both cases, the session will be terminated, all the managed resources will be released, but you will have to release any unmanaged resource. Quote Link to comment Share on other sites More sharing options...
Gustavo.deo Posted December 26, 2017 Author Share Posted December 26, 2017 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.