Cy.Kevin.C Posted March 31, 2021 Share Posted March 31, 2021 Hi, I tried to capture OnBrowseClose event and release user resources just in case when user does not press logout button but just close browser directly. However, I noticed the event is not fired in Chrome and Edge. I searched the forum and seems the suggestion is to upgrade uniGUI to the newest version. I'm currently using uniGUI version 1.90.0.1496 but the problem seems still exists. Any possible solution? Thank you. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 1, 2021 Share Posted April 1, 2021 On 3/30/2021 at 11:26 PM, Cy.Kevin.C said: Hi, I tried to capture OnBrowseClose event and release user resources just in case when user does not press logout button but just close browser directly. However, I noticed the event is not fired in Chrome and Edge. I searched the forum and seems the suggestion is to upgrade uniGUI to the newest version. I'm currently using uniGUI version 1.90.0.1496 but the problem seems still exists. Any possible solution? Thank you. Hi Can you update your email address? Quote Link to comment Share on other sites More sharing options...
andyhill Posted April 1, 2021 Share Posted April 1, 2021 I noticed a while ago that Mobile Safari does record close like desktop Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted April 5, 2021 Share Posted April 5, 2021 this is an old problem, the only reliable event to capture completion of the system, and in the TUniMainModule.UniGUIMainModuleDestroy however, in this event, you no longer have access to the mainmodule components and objects. I did it like this: When I access my application, I save the connection data in a table with the section id, no destroy, and re-connect to the database and clear the connection data. Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted April 6, 2021 Share Posted April 6, 2021 I just tested it, and in version 1.90.0.1547, it worked again. tested on chrome, and on the edge 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.