long polling solution for LAMP with limited privilege
am 15.03.2010 17:13:26 von Ryan Sun
I wonder if you guys have a
long-polling(http://meteorserver.org/interaction-modes/) solution for
a shared hosting(eg. hostmonster)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: long polling solution for LAMP with limited privilege
am 15.03.2010 18:02:59 von Rene Veerman
On shared hosting, you usually can't change the 30 sec max timeout on
the server..
So long polling >30s is not possible.
Short polling could be the answer, which can be done with ajax (see
jquery.com) from javascript, especially if you keep the cost of "are
there any new events for this client" down..
On Mon, Mar 15, 2010 at 6:13 PM, Ryan Sun wrote:
> I wonder if you guys have a
> long-polling(http://meteorserver.org/interaction-modes/) solution for
> a shared hosting(eg. hostmonster)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php