LK wrote: > Two people on separate PCs are sending instant messages to each > other through Ajax on a common server. The sender posts a message > and it gets stored in the database. How does the receiver get > that message on the other machine?
Use persistent connections and chunked responses. It's a technique now being described as Comet, partly to play on the Ajax theme. I give the elevator description (yes, I just made that up) at the end of this blog post: http://shiflett.org/archive/232 Chris -- Chris Shiflett http://shiflett.org/ _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
