Jump to content

WebMonitor - How to manage programatically


Darth Florus

Recommended Posts

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...