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

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

Hi Irv,

         I try this. Didn=B4t work. Maybe the problem is Xitami.
         I look the code from the EUFORUM page and it didn=B4t seem to use=
=20
server-push...

#!\cgi-bin\euphoria\bin\exw.exe


include \cgi-bin\euphoria\include\sort.e
include \cgi-bin\euphoria\include\misc.e
include \cgi-bin\euphoria\include\file.e

puts(1,"HTTP/1.0 200")
puts(1,"Content-type:=20
multipart/x-mixed-replace;boundary=---ThisRandomString---")
puts(1,"")
puts(1,"---ThisRandomString---")

for i=1 to 5 do
         puts(1,"Content-type: text/html")
         puts(1,"")
         puts(1,"1")
         puts(1,"<p>")
         puts(1,"<plaintext>")
         puts(1,"---ThisRandomString---")
         sleep(1)
end for


At 21:55 6/9/2004, you wrote:
>============ The Euphoria Mailing List ====
=========
>
>
>posted by: irv mullins <irvm at ellijay.com>
>
>irv mullins wrote:
> >
> > irv mullins wrote:
>
> > That may not be a complete solution to your problem. See also:
> > <a=20
> href="http://wp.netscape.com/assist/net_sites/pushpull.html">http://wp.=
netscape.com/assist/net_sites/pushpull.html</a>
>
>The *right way* to do this is with server push, but I'm not sure xitami
>will do server push. The other way is by having your program create and
>update a progress page, and setting the browser to refresh that page every=
 5
>or 10 seconds. Unfortunately, that means that if you have 2 or more people=

>connected, you will have to work out some scheme to be sure each
>sees the progress page which is being updated by *their* copy of the
>cgi program. Push is easier, perhaps you will want to change server
>software.
>
>Irv
>
>--^----------------------------------------------------------------
>This email was sent to: rml at rubis.trix.net
>
>EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dd66.b4qFOM.cm1sQHJ1
>Or send an email to: EUforum-unsubscribe at topica.com
>
>For Topica's complete suite of email marketing solutions visit:
>http://www.topica.com/?p=TEXFOOTER
>--^----------------------------------------------------------------

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

Search



Quick Links

User menu

Not signed in.

Misc Menu