Re: PHP Chat REALTIME
| From: | Nuno Mariz | Date: | Tue, 22 Jan 2002 11:02:36 +0000 |
| Subject: | Re: PHP Chat REALTIME | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81513@lists.php.net to get a copy of this message | ||
That was not the problem, i need something that keep the conection
between client and server.
On Tue, 2002-01-22 at 10:51, Ben-Nes Michael wrote:
> The server can controll the Refresh and the cache expiry through headers
> sent when the page is requested by the client.
>
> add this to expire client content every time a request for the same page is
> sent.
> header("Pragma: no-cache");
>
> add this to refresh client content every 5 sec
> <meta http-equiv="Refresh"
> content="5;URL=http://www.doamin.com/page.phtml">.
>
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6991122
> http://sites.canaan.co.il
> --------------------------
>
> ----- Original Message -----
> From: "Nuno Mariz" <nmariz@websolut.net>
> To: <php-general@lists.php.net>
> Sent: Tuesday, January 22, 2002 12:32 PM
> Subject: [PHP] PHP Chat REALTIME
>
>
> > I need to build a php-chat (online support system), but in realtime.
> > I've develope a system that refresh in browser client in 5 seconds. But
> > i need a system that works in realtime, what i meen is when a client or
> > the server send a message, the browser refresh when a message was sent.
> > All this without JAVA.
> >
> > thanx
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
--
Nuno Mariz
Web Developer
WEBSOLUT - Soluções Internet
Email: nmariz@websolut.net
http://websolut.net/people/nunomariz.html
As informações contidas neste email são confidenciais
para todos os efeitos e destinam-se apenas a quem foi enviado:
http://websolut.net/confidencialidade-responsabilidade.html