> > I have yet to find a good CF-based chat program. Unfortunately, these
> > programs rely on auto page refreshes and can be quite annoying.

Dave Watts skrev:

>If you're expecting to find a CF-based chat program which doesn't rely on
>automatic page refreshes, don't hold your breath! That's outside the scope
>of what CF, or any other web application server for that matter, can do.

That's not entirely true.
You could always write a script that keeps serving a page and never tells 
the browser that it is done so the browser keeps loading it while content 
is being added.
A simple demo in perl:

#!/usr/bin/perl
$|=1;
print "Content-type: text/html\n\n<body>\n";
for (1..99) {
print "rad $_<br>\n";
system("sleep 2s");
}
print "</body>";

This demo doesn't write anything but keeps loading the page every 2 seconds 
WITHOUT meta refresh. I could add a new line of content instead of just 
loading nothing.

//Nille

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to