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

[REBOL] Re: New Document (CGI)

From: g:santilli:tiscalinet:it at: 25-Apr-2002 11:28

Hi Ammon, On Wednesday, April 24, 2002, 12:21:58 PM, you wrote: AJ> I am playing with some CGI.... I have a time consuming script that happens AJ> in the background & I want to let the user know something is happening, but AJ> when it is done I want to send the user a fresh page & get rid of the AJ> notification stuff. Has anyone here done anything similar? It's not very popular, and I don't know how well it is supported across browsers, but you could use "server push". Basically you return your page as a special multipart MIME type (I think it was something like multipart/replace, I don't remember); you return the first part immediately with the "please wait" message; then you return the second part, and the browser uses it to replace the first one. You should be able to find more info on the net, maybe on the w3c site or in some RFC. HTH, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: