[nycphp-talk] Forcing page refresh
Sexton, David
David.SextonJr at ubs.com
Thu Aug 7 12:05:21 EDT 2003
The only thing I can think of using a standard web browser is to setting the
timeout to 0 (set_time_limit (0);) and using some combination of flush/sleep
functions to continuously poll and update the display frame... I have no
idea how it would behave or if it would slam your server with all the
concurrent connections, but an applet sounds like a better solution for
something like this.
-----Original Message-----
From: crisscott at netzero.com [mailto:crisscott at netzero.com]
Sent: Thursday, August 07, 2003 11:48 AM
To: shiflett at php.net; talk at lists.nyphp.org
Subject: Re: [nycphp-talk] Forcing page refresh
I am trying to figure out if there is a good way to make an instant
messaging/chat program in php. I don't want to create all of that traffic
with unnecessary refreshes. There is no point in updating the page if
nobody has anything to say. At the same time, I don't want users to have to
wait 30 seconds between messages. If I could get the users browser to
refresh on my command that would pervent all of the unnecessary traffic. I
figure that any reasonably secure browser would ignore any headers it wasn't
expecting, but is there a way to make the browser sit and wait for my
command? Or am I trying to do something browser developers spend all day
trying to prevent?
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
Please do not transmit orders or instructions regarding a UBS account by
email. The information provided in this email or any attachments is not an
official transaction confirmation or account statement. For your protection,
do not include account numbers, Social Security numbers, credit card
numbers, passwords or other non-public information in your email. Because
the information contained in this message may be privileged, confidential,
proprietary or otherwise protected from disclosure, please notify us
immediately by replying to this message and deleting it from your computer
if you have received this communication in error. Thank you.
UBS Financial Services Inc.
UBS International Inc.
More information about the talk
mailing list