title: Long-lived connections (asynchronous server push) with Apache/PHP/Javascript?
body: <p>I come from more of a Java background.  In the last year or two, it's become somewhat popular to do <a href="http://en.wikipedia.org/wiki/Push_technology" rel="nofollow noreferrer">server push</a> over HTTP using <a href="http://blogs.oracle.com/andi/entry/comet_basics" rel="nofollow noreferrer">long-lived HTTP connections in Comet</a>.  It's an extremely useful technique.</p>
  
  <p>So I'm curious what the equivalent is with Apache + PHP + Javascript?  One option I see is just using straight AJAX calls (eg with jQuery) but I don't really know how Apache handles them or how I can implement such a thing on the serverside with PHP.  Any ideas?  Any good resources on this kind of thing?</p>