Joshua Slive wrote:
On 7/5/06, Rajat Sharma [EMAIL PROTECTED] wrote:
My cgi script needs to do some dirty work. User is supposed to be
notified
via email when the job is done.
Issue is that the after submit of the page, the IE still keeps loading
the
page until the long\dirty job is over.
Is there really a need to use forking? Instead, how about:
1. CGI prints instant reply.
2. CGI execs long job (you *are* using exec and not system, right?), and
exits.
3. long job sends mail (exec or system or a subroutine) when it's done.
You'd need to pass $loginid to the long job of
. The print
outputs into the CONSOLE since apache does not handle it anymore.
It doesn't help :-(
Raj
-Original Message-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 11:23 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] CGI help
: Wednesday, July 05, 2006 11:29 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] CGI help on apache needed
Is there really a need to use forking? Instead, how about:
1. CGI prints instant reply.
2. CGI execs long job (you *are* using exec and not system, right?),
and
exits.
3
.
Interestingly, it is not helping
Raj
-Original Message-
From: Hugh Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 11:29 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] CGI help on apache needed
Is there really a need to use forking? Instead, how about:
1
Thanks Jashua, but I am on windows and cannot redirect to /dev/null
Still looking
From: [EMAIL PROTECTED] on behalf of Joshua Slive
Sent: Wed 7/5/2006 12:04 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] CGI help on apache needed
On 7/5/06
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: Wednesday, July 05, 2006 1:19 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] CGI help on apache needed
On 7/5/06, Rajat Sharma [EMAIL PROTECTED] wrote:
Thanks Jashua, but I am on windows and cannot