Wilson, Douglas on 5 Nov 2003 12:02:35 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: Server Push, NPH and multipart/x-mixed-replace



-----Original Message-----
From: Mike Cramer [mailto:cramer@webkist.com]

> Regarding Walt's question Monday night about having a CGI send down a 
> "be patient" page while a long DB query is running: take a look at 
> CGI::Push (should come with CGI.pm), search the CGI.pm docs for "NPH",

> or Google "multipart/x-mixed-replace".

One way I've heard of it being done is to immediately return a
page that says "Please wait..." etc. which has a meta refresh tag, and
pass off the query and result generation to another (forked) process.

When the results are ready, just replace the page that is getting
refreshed.

-Doug
-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**