Guest Posted September 21, 2010 Share Posted September 21, 2010 Message from: "Cezar Wagenheimer" I have some basic questions about the functioning of UniGUI. How does it works? It creates a session for each user? Can I keep DataSets open in my datamodule, and each client will only access his own sessions? I have added a dataset to MainModule, and I have opened it on some form... I tryed to access it on another form, and it seens to not be opened anymore. Can I add a Global Variable in my MainForm, and this Global Variable will be only visible to the user that created it? Sorry for the dumb questions and the poor English! Cezar Wagenheimer . Link to comment Share on other sites More sharing options...
Guest Posted September 22, 2010 Author Share Posted September 22, 2010 Message from: "Farshad Mohajeri" Hi Cezar, "Cezar Wagenheimer" wrote in message news:KC03Z$cWLHA.2104@anaxagvs227... >I have some basic questions about the functioning of UniGUI. > > How does it works? It creates a session for each user? Can I keep DataSets > open in my datamodule, and each client will only access his own sessions? > Yes, each browser request creates a new session on the server. You can keep your DataSets in two places: 1) MainModule which is automatically created 2) Extra DataModules that are created from uniGUI project wizard. > I have added a dataset to MainModule, and I have opened it on some form... > I tryed to access it on another form, and it seens to not be opened > anymore. > Forms that are opened by same user in same browser window belong to same session. Forms that belong to same session will see same instance of DataSet in MainModule. i.e. if DataSet is open, both forms must see it as open. > Can I add a Global Variable in my MainForm, and this Global Variable will > be only visible to the user that created it? > You can add global variables to MainModule or MainForm. I recommend using MainModule for this purpose. Variables created this way are only visble to session that has created them. Regards, Farshad Mohajeri . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now