Please, I have a small app developed in VB.NET and Windows Forms, this application stores user name and his password in a Ms-Access database, when that user is logged in, his data (Ex.: user.Name, user.EncryptedPassword, etc) is stored in a Global Variable accessible by all forms in app.
What should the best way to replicate this in a Wisej app? Is it a good idea?
How can I use Global Variables in WiseJ?
Hi Jeo,
You don’t say if you are creating a web based version of your application for multiple users or repackaging an existing application using WiseJ’s desktop app.
Assuming you are creating a web based version of your application for multiple users then you can use global variables but these will be available to all sessions of your application.
What I think you want is session variables – these are only available to the Wisej session that created them. WiseJ has a handy session variable collection which you can access as Application.Session.<your variable name>.
HTH
Nic
Please login first to submit.