[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-win32-web
Subject: RE: show status: job is being processed
From: "Peter Guzis" <PGuzis () encad ! com>
Date: 2003-10-04 1:07:36
[Download RAW message or body]
Turn on autoflush with $| = 1
Watch out the script doesn't run too long or, depending on your server configuration, \
the script could be terminated forcefully.
A better solution might be to write a long-running daemon process to run jobs on the \
script's behalf. After the job starts you could just have the script refresh every \
once in a while to check for job completion.
Peter Guzis
Web Administrator, Sr.
ENCAD, Inc.
- A Kodak Company
email: pguzis@encad.com
www.encad.com
-----Original Message-----
From: Pratik Savai [mailto:psavai@hotmail.com]
Sent: Friday, October 03, 2003 4:26 PM
To: perl-win32-web@listserv.ActiveState.com
Subject: show status: job is being processed
Hi,
I have a CGI script that takes some time to finish searching the DB. In
the meanwhile, how do I show that the job is being processed?
I tried just simple printing the same, but it wouldnt show up until the
search is over. I tried using threads with the same result.
Thanks.
--
Pratik
psavai@hotmail.com
_________________________________________________________________
Make glass paintings? Are you a good artist?
http://server1.msn.co.in/features/general/diwali.asp Sell your Diwlai
creations online.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic