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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to