On Thu, 27 Sep 2001 00:44:35 -0500 "will trillich" <[EMAIL PROTECTED]> wrote:
> debianistas tend to know where to look, so i'm hoping someone > will point the way-- > > i know i've run across it before but when i WANT to stub my toe > on it, it's nowhere to be found: HOW can i have apache/web page > initiate a process and return quickly to generate a 'processing, > hold on' page while the process does its processing? > how about using multipart/x-mixed-replace? #!/usr/bin/perl $|=1; print "Content-type: multipart/x-mixed-replace\;boundary=---random_string---\n\n"; print "\n---random_string---\n"; print "Content-type: text/html\n\n"; print "<h2>Processesing. Please wait...</h2>"; print "\n---random_string---\n"; # ################################################################# ## code to process the images and possibly send updates to the ## ## browser (like the name of each file as it's processed) ## ################################################################# # print "Content-type: text/html\n\n"; print "<h2>Processesing Done</h2>"; print "\n---random_string---\n"; For more detail on multipart/x-mixed-replace http://home.netscape.com/assist/net_sites/pushpull.html