I do not know if my tile line is enough ... My problem: I have a JS application that should wait for events on the server. At the moment, it checks continuous server data through XMLHttpRequest every second.
I’m thinking about: is it possible to make a call wait until, for example, a variable in PHP changes?
Hope my question is clear enough.
Thanks!
source share