Auto Browser Refresh (is it Possible)?
Posted: 2022-02-01 00:19
I own the latest version of AppGini and ALL available "add-ons" ([plugins).
I have setup an AppGini system which includes a simple table for messages.
This message table is used by different users to send “text†messages to each other,
When (say) two users are logged in to the system, each will see the list of messages. However, if a user adds a message, other users will NOT see that message until they do a “screen refresh†on their browser,
My question is whether it is possible to force a regular screen refresh so that the messages update on each users screen regularly?
I would like to achieve this from the SERVER so that each user doesn't need to install anything at "their end".
I have integrated Appgini Javascript Helper into my simple App and this allows the message “numbers†to update in almost real-time (using an SQL COUNT statement). However, even though the toolbar (generated by Javascript Helper) shows status updates without the need for a user to do a browser "refresh", the actual screen in total (i.e. where the messages appear) doesn’t update until a user refreshes their page.
Is what I want to each possible (and how, if it is).
Much appreciate any help that someone would be generous enough to provide.
I have setup an AppGini system which includes a simple table for messages.
This message table is used by different users to send “text†messages to each other,
When (say) two users are logged in to the system, each will see the list of messages. However, if a user adds a message, other users will NOT see that message until they do a “screen refresh†on their browser,
My question is whether it is possible to force a regular screen refresh so that the messages update on each users screen regularly?
I would like to achieve this from the SERVER so that each user doesn't need to install anything at "their end".
I have integrated Appgini Javascript Helper into my simple App and this allows the message “numbers†to update in almost real-time (using an SQL COUNT statement). However, even though the toolbar (generated by Javascript Helper) shows status updates without the need for a user to do a browser "refresh", the actual screen in total (i.e. where the messages appear) doesn’t update until a user refreshes their page.
Is what I want to each possible (and how, if it is).
Much appreciate any help that someone would be generous enough to provide.