Re: long polling solution for LAMP with limited privilege
| From: | Rene Veerman | Date: | Mon, 15 Mar 2010 17:02:59 +0000 |
| Subject: | Re: long polling solution for LAMP with limited privilege | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302854@lists.php.net to get a copy of this message | ||
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 <ryansun81@gmail.com> 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
>
>