literal Posted June 8, 2020 Share Posted June 8, 2020 I wrote a program using Unigui and MySQL. After logging into the program with my username and password, I read the account balance of the user and show it on the screen. I refresh this data every 5 seconds with UniTimer. Although it is a browser entered with a different user name that I have opened from different computers, the information of the last user I entered is visible and other browsers show the last user entered. However, I want the balance of that user to appear in each browser. How can I do this? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 8, 2020 Share Posted June 8, 2020 Hello, First of all, can you please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
literal Posted June 8, 2020 Author Share Posted June 8, 2020 I am using v1.90 Professional Trial Edition Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 8, 2020 Share Posted June 8, 2020 Hi, I can't reproduce. Can you please create a test case? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted June 8, 2020 Share Posted June 8, 2020 you must not create variables or share information on the server module. use the mainmodule to place your public variables, and their connection component. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted June 8, 2020 Share Posted June 8, 2020 @Literal, Are you using Hyperserver ? See Sessions : http://www.unigui.com/doc/online_help/important-notes.htm Quote Link to comment Share on other sites More sharing options...
literal Posted June 9, 2020 Author Share Posted June 9, 2020 10 hours ago, wilton_rad said: you must not create variables or share information on the server module. use the mainmodule to place your public variables, and their connection component. Thank you. My problem solved. I used UniMainModule.[Variable] on MainForm as you say. 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.