We have had a customer request to add a messaging feature for all logged-in users in our Uniface application - so an admin can, for example, ask everyone to log off, or something.
I have implemented this by using a background service and the UTIMER functionality - this polls a database table every 10 minutes for any messages with the correct time stamp - does mean that users might not get the message at the same time.
Is there a "simple" mechanism for "pushing" a message to all logged-in users in a client-server environment? We already know which users are logged in, it's just a case of forcing a message to be displayed for all of them at the same time.
Thanks in advance,
------------------------------
Wilson Mark
Idox Software Ltd
Theale GB
------------------------------
Page 1 / 1
We have had a customer request to add a messaging feature for all logged-in users in our Uniface application - so an admin can, for example, ask everyone to log off, or something.
I have implemented this by using a background service and the UTIMER functionality - this polls a database table every 10 minutes for any messages with the correct time stamp - does mean that users might not get the message at the same time.
Is there a "simple" mechanism for "pushing" a message to all logged-in users in a client-server environment? We already know which users are logged in, it's just a case of forcing a message to be displayed for all of them at the same time.
Thanks in advance,
------------------------------
Wilson Mark
Idox Software Ltd
Theale GB
------------------------------
I have implemented this by using a background service and the UTIMER functionality - this polls a database table every 10 minutes for any messages with the correct time stamp - does mean that users might not get the message at the same time.
Is there a "simple" mechanism for "pushing" a message to all logged-in users in a client-server environment? We already know which users are logged in, it's just a case of forcing a message to be displayed for all of them at the same time.
Thanks in advance,
------------------------------
Wilson Mark
Idox Software Ltd
Theale GB
------------------------------
You record the $instancepath during the log in, and then the server can postmessage the client, this will be received in the async trigger/recievemessage dependant on the version of Uniface.Â
Regards,Â
Iain
------------------------------
Iain Sharp
Head of Technical Services
Pci Systems Ltd
Sheffield GB
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.