A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2008 yearLong-lived connections (asynchronous server push) with Apache/PHP/Javascript? - page 1
User InfoPosts
Long-lived connections (asynchronous server push) with Apache/PHP/Javascript?#1
I come from more of a Java background. In the last year or two, it's become somewhat popular to do server push over HTTP using long-lived HTTP connections in Comet. It's an extremely useful technique.

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?

posted date: 2008-12-29 18:18:00

Re: Long-lived connections (asynchronous server push) with Apache/PHP/Javascript?#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2008-12-29 18:18:01

Re: Long-lived connections (asynchronous server push) with Apache/PHP/Javascript?#3
You can use Comet programming techniques in PHP. I think a good place to start is this post, describing how to implement Comet in PHP.

posted date: 2008-12-29 18:51:00

select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.