On Tue, Mar 27, 2001 at 10:14:29AM -0500, Dexter Coehlo wrote:
>
> Waht I wanted was to have a seperate process , say a child process after
> forking send out emailsthen exit while the parent would give a "Done"
> confirmation screen so that the admin wouldnt have to wait a long time for
> that screen and possibly time out(of course I could print the emails to
> screen).
>
> What I am getting the the confirmation screen being displayed after all
> the emails are sent like there is not 2 seperate processes happening but
> there is. I would like the child process to continue should the parent
> which displays the "Emails sent " screen discontinue and i believe that
> what should happen.
The solution to your problem lies in the realm of CGI and web servers, not
in DBI.
Try having the child process close STDOUT before it does anything else.
For more advice on this specific issue, you may want to find a forum with
a focus on web servers and CGI scripts.
Ronald