I assume that DarthVader has made your interface an (usually) unformatted HTML page of some kind. Something in the browser. If you want all clients to be automatically changed, you have three options:
Comet :
The comet essentially makes AJAX requests that do not have a request timeout limit. You make a request, and it sits there and passes the data through it, as necessary. This can be done using hidden iFrames or standard XMLHTTPRequests (which jQuery can wrap for you). Read more about this method here .
Long survey:
Essentially, you use the javascript setInterval method to continuously poll your server for changes. Just set the interval that executes the standard AJAX GET request to the server, and refresh your page accordingly with each success.
HTML5 WebSockets:
Using any type of event-based backend (Twisted, EventMachine, node.js, etc.) makes WebSockets the perfect solution. Itβs just that all customers register in the backend, and when sending from any of these clients, they push changes to all other clients. You can read more (and see a good example) of WebSockets on this page .
source share