Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: html post

From: g:santilli:tiscalinet:it at: 8-Aug-2002 12:25

Hi Javier, On Thursday, August 8, 2002, 9:46:24 AM, you wrote: JD> when the browser sends the data, the cgi script is executed as sonn as the JD> data is received. or it has to wait untill all the data is received?. It may depend on the server, but the script should be executed as soon as the server has discovered it is a CGI (so, as soon as it has received the full HTTP header and decoded it; for small POSTs, at this time it has probably received all the data too, but in your case it's likely that when the script is called not all the data has arrived, and you'll have to wait for it). JD> (i would like to implement son kind of progress meter... is it posible?. Not that it is easy to do in HTML. :-) But you can at least send a Please wait message as soon as the script executes. (Dunno if the browser will wait until it has sent all the data tough before displaying the result; you'll have to check with your target browsers.) (Maybe you can use the so-called server-push technique to do a progress meter; I'm not an expert of this, but IIRC it's just a matter of sending the correct content type --- multipart/something, I don't recall at the moment --- and then sending one page after the other following the MIME format.) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: