Re: cgi "waiting..1..2.3" output...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Rubens Monteiro Luciano wrote:
> 
> Hi people,
> 
> 
> Why the output of this CGI is not "one number per second" only the complete=
> =20
> result after 10 seconds?
> Is there any way to make the output as it is on a display ?
> 
> The problem is that I have a slow cgi routine that stays running for 20 or=
> =20
> 30 seconds and I want to output
> the progress of the cgi for the user.
> 
> 
> EUFORUM(<a
> href="http://www.rapideuphoria.com/listserv.htm">http://www.rapideuphoria.com/listserv.htm</a>),
> until the search is not=
> =20
> complete.
> 
> Searching ... 1996 ... 1997 ... 1998 ... 1999 ... 2000 ... 2001 ... 2002=
> =20
> ... 2003 ... 2004 ...
> 
> 
> Any suggestions ?
> 
> 
> test.cgi
> 
> #! c:\euphoria\bin\exw.exe
> include misc.e
> 
> for i=1 to 10 do
> 	puts(1,sprint(i)&"<br>")
> 	sleep (1)
> end for
> 
> 
Try this, maybe it will make a differance:
#! c:\euphoria\bin\exw.exe
include misc.e

for i=1 to 10 do
	puts(1,sprint(i)&"<br>")
        flush(1)
	sleep (1)
end for




> 
> I=B4m using the Xitami server.
> 
> 
> Thanks
> 
> Rubens
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu