Answer the question
In order to leave comments, you need to log in
How to correctly synchronize chat between ajax and web socket version?
Hello. There is a chat on web sockets. I successfully write all messages to the database and they are immediately visible in the Ajax version. But ajax version messages are not visible in version seket.
There is only one solution. How to synchronize the database with an array of messages.
It's just that I don't understand how to do it.
Thanks in advance for your help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question