Darth Florus Posted September 30, 2021 Share Posted September 30, 2021 Hi Pals: One of My Customer wants to I turn on the WebMonitor, and other don't. There is a way to programatically change the WebMonitor property to turn on or off when I need? Thanks and Best Regards Quote Link to comment Share on other sites More sharing options...
x11 Posted October 1, 2021 Share Posted October 1, 2021 What is the WebMonitor? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted October 1, 2021 Share Posted October 1, 2021 would it be this? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted October 1, 2021 Share Posted October 1, 2021 provide the password only for the customer who wants to access the monitor. procedure TUniServerModule.UniGUIServerModuleControlPanelLogin(ASession: TUniGUISession; const Auser, APassword: string; var LoginValid: Boolean; LoginAttempt: Integer); begin if SameText(AUser, 'USER') and SameText(APassword, 'pass') then LoginValid:=True else begin if LoginAttempt=3 then ASession.Terminate('Login Failed'); end; end; Quote Link to comment Share on other sites More sharing options...
Darth Florus Posted October 1, 2021 Author Share Posted October 1, 2021 Excelent! Thank You very much, Mr. Wilton!!! Quote Link to comment Share on other sites More sharing options...
x11 Posted October 6, 2021 Share Posted October 6, 2021 this? http://unigui.com/doc/online_help/monitoring-sessions2.htm http://www.unigui.com/doc/online_help/api/uniGUIServer_TUniGUIServerModule_OnControlPanelLogin.html Quote Link to comment Share on other sites More sharing options...
x11 Posted October 6, 2021 Share Posted October 6, 2021 В справке - ошибка @Sherzod Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 6, 2021 Share Posted October 6, 2021 11 minutes ago, x11 said: OK. Thanks. 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.