Table of Content
HAL Forum
function boolean PresenceWasSuccessful (
)
Description:
Returns TRUE if the last server presence check was successful
global
procedure OnApplicationShutdown()
begin
  if (PresenceWasSuccessful) then begin
    if (ServerMode or SingleUserMode) then begin
      asyncremote.RegisterAtPresenceServer("",0,0);
    end;
    if (UserActive) and ((SingleUserMode) or (ClientMode)) then begin
      asyncremote.RegisterAtPresenceServer(CurrentUser,0,1);
    end;
  end;
  return;
end;
Related topics:
««