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 Link to comment Share on other sites More sharing options...
x11 Posted October 1, 2021 Share Posted October 1, 2021 What is the WebMonitor? 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? 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; 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!!! 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 Link to comment Share on other sites More sharing options...
x11 Posted October 6, 2021 Share Posted October 6, 2021 В справке - ошибка @Sherzod 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now