-----Original Message-----
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Sent: 05 November 2004 15:14
To: [EMAIL PROTECTED]
Subject: Re: start http request and move on



Thanks Jose, and Randal too :),
very close indeed the only difference is I don't want the user to wait 
at all, just submit the form, they see the confirmation and close their 
browser and the fork() finished in its own sweet time on the server.

I think the best thing might be to put the goods in a file and have 
another script process the file via cron evry so often, I just didn't 
want to have to involve 2 scripts to keep track of :)


------------------

A very shoddy way of doing it, but you could put what you want to do in
another script, call system() and place it in the background so you original
script doesn't wait for it to return.

.....
system "perl script.pl any arguments &";
.....

I assume this would work, but am not 100% sure without trying it.




************************************************************************
The information contained in this message or any of its
attachments is confidential and is intended for the exclusive
use of the addressee. The information may also be legally
privileged. The views expressed may not be company policy,
but the personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited.
If you have received this message in error, please contact
[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]> and then delete this message. 

Exide Technologies is an industrial and transportation battery
producer and recycler with operations in 89 countries.
Further information can be found at www.exide.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to