eduardosuruagy Posted April 30, 2019 Share Posted April 30, 2019 How do I know if I have more than one active section? I am using hyperserver and would like to execute a comnode only when it has no open section. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 8, 2019 Author Share Posted May 8, 2019 Would anyone know to answer this question? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 10, 2019 Author Share Posted May 10, 2019 I would just like an answer from the staff if this is possible to do or not ... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10, 2019 Share Posted May 10, 2019 1 hour ago, eduardosuruagy said: I would just like an answer from the staff if this is possible to do or not ... Hi, Have you seen this demo?: \FMSoft\Framework\uniGUI\Demos\Desktop\Session List Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 10, 2019 Author Share Posted May 10, 2019 3 minutes ago, Sherzod said: Oi, Você já viu esta demo ?: I've seen the example, I'm using Hyperserver and would like to run a routine when I have no active users and while this routine is running I can not let anyone access the system, understand? I do not know if this example works the same way using Hyper Server. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 10, 2019 Administrators Share Posted May 10, 2019 Currently the only way to achieve this to create a db table and create an entry when a new session is created. Likewise you will delete the entry when session is freed. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 10, 2019 Author Share Posted May 10, 2019 7 minutes ago, Farshad Mohajeri said: Atualmente, a única maneira de conseguir isso é criar uma tabela de banco de dados e criar uma entrada quando uma nova sessão é criada. Da mesma forma, você excluirá a entrada quando a sessão for liberada. I already do this, but have a problem, when the user closes the browser in a raw way there is no way to delete the section. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 10, 2019 Share Posted May 10, 2019 1 hour ago, eduardosuruagy said: I already do this, but have a problem, when the user closes the browser in a raw way there is no way to delete the section. UniMainModule -> OnBrowserClose event ? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 10, 2019 Author Share Posted May 10, 2019 4 minutes ago, Sherzod said: UniMainModule -> Evento OnBrowserClose? Using the hyper server I can not tell if the Node is zero used the variable "NodeZero"? Can you tell if there are more Node created? Because if there is more than zero I know there are other open sections. I am trying to make a database comparison and can not have any active connection at the time of the comparison. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 14, 2019 Author Share Posted May 14, 2019 Would you just like to know if I can get an answer on this? It's been a long time since I asked this question and so far I have not had an answer. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted May 20, 2019 Author Share Posted May 20, 2019 Is the forum support gone? Not even to give a simple answer stating that you can not do it, we have to wait 30 days for an answer? 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.