StevenMiles
asked on
Want my perl CGI program to continue without waiting for return from a subroutine
Hi,
I'm writing perl CGI programs that will run a Web site. On one page, if the user clicks on a link, he initiates some processing, and he'll be taken to another page. The processing will read data from a couple other Web sites, process the data, and send email to the user. But there's no reason the user should have to wait for all that to happen before being sent to the next page for him to view. The processing could happen in the background, so to speak.
I'd like to find a way for the program that initiates the processing to continue, sending the user to his new page, without waiting for the processing to finish. Is there a way to do that?
Thanks,
--Steve
I'm writing perl CGI programs that will run a Web site. On one page, if the user clicks on a link, he initiates some processing, and he'll be taken to another page. The processing will read data from a couple other Web sites, process the data, and send email to the user. But there's no reason the user should have to wait for all that to happen before being sent to the next page for him to view. The processing could happen in the background, so to speak.
I'd like to find a way for the program that initiates the processing to continue, sending the user to his new page, without waiting for the processing to finish. Is there a way to do that?
Thanks,
--Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.