herculanojs Posted August 16, 2016 Posted August 16, 2016 It would be possible to block new sessions on the server? I'm working on an application atualziação process, and when a new version is detected, active sessions will be notified to close down, and would not want any new session to be activated. Quote
Sherzod Posted August 17, 2016 Posted August 17, 2016 Hi, For now maybe like this: 1. http://forums.unigui.com/index.php?/topic/7067-message-to-the-session-help/&do=findComment&comment=36016 2. MainModule: procedure TUniMainModule.UniGUIMainModuleCreate(Sender: TObject); begin if UniServerModule.globalTerminate then UniSession.Terminate('...'); end; Best regards. Quote
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.