D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Staged / incomplete output from Perl over TCP/IP / HTML



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 31 August 2003 12:20 pm, Neil Williams wrote:
> Now if I try this using HTML/Apache, the browser will wait until the 53rd
> server before receiving/outputting the page. In this time 99% of all
> servers will timeout.
>
> Is there a way of outputting progress indicators in real time over a normal
> CGI/HTMl/Perl/Apache config?

This sort of thing? : <http://peering.anlx.net/ubermatrix.cgi?ixp=LIPEX> 

 ...

$| = 1;
print "Content-Type: text/plain\n\n";

for (1 .. 100) {
  printf "Working [%d] ....\n", $_;
  sleep(1);
}

or am i miss understanbding the question ?

 ~ Theo, now a daddy - <http://theo.me.uk/demi> :)

- -- 
Theo Zourzouvillys
<theo@xxxxxxxxxxxxxxxx>
<http://theo.me.uk/>

- ---------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
 X   attachments.
/ \
- ---------------------------------------





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Ulam448CrwpTn6YRAs3UAKC/4RB+kGFPfAZEh99IXbK1CHrZVwCfR0jL
YZVIVA3zPFk5IdupHPhYo6A=
=SX8D
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly