[Mongrel] Comet style requests with mongrel
Jeremy Wilkins
jeremy at ibexinternet.co.uk
Fri Nov 23 11:26:04 EST 2007
Hi,
I've been doing some experiments with php and if can use something like
<?php
for ($i = 0; $i < 100; $i++) {
echo "hello world";
flush();
sleep(10);
}
?>
to keep a http link open for an arbitrary amount of time and
routinely display "hello world" in the browser window.
Is is possible to write a mongrel handler to do something similar?
Thanks
jeb
More information about the Mongrel-users
mailing list