in reply to Emulate CGI "server push" to show real time status of CGI script for all browsers
Most browsers support the HTTP refresh, and for those that don't you can put a "Next" link at the bottom. Your whole page will reload for each update, and the script will run once for each update, but it's possible to support a wide range of browsers this way. It does place an extra burden on the script, which has to be able to pick up where it left off each time the browser reloads the page, but this is doable. The other option is to use scripts or plugins to communicate with the server and get information from a server process; this will allow for smoother updates but will support fewer browsers.
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Emulate CGI "server push" to show real time status of CGI script for all browsers
by Anonymous Monk on Oct 01, 2003 at 00:05 UTC | |
by sgifford (Prior) on Oct 01, 2003 at 02:19 UTC | |
by Anonymous Monk on Oct 01, 2003 at 06:35 UTC |