Hello,
I have web page that downloads and extracts images based on file selection. The thank you page will not be displayed until the download is complete... (Understandable). One of the download files is quite big and the web server is timing out. I would like to thank you page to be displayed instantly while the download continues to run in the background; kind of like the '&' does at the end of a bash command. Is this possible? I thought for sure if I used a print "Location: $search_results\n\n"; and then used the system command to launch the download script, it would've worked... I was mistaken! :-) How can I get the $search_results page to come up and still run the download program in the background? --------- #!/usr/bin/perl use strict; use warnings; use CGI qw(:standard); my $query = param("vendor"); my $search_results = "http://www.example.com/res_jmt_thx.htm"; my $no_search_results = "http://www.example.com/res_nomsds.htm"; my $zip_file = "BigZipFile.zip"; if ($query eq $zip_file) { print "Location: $search_results\n\n"; }; system "/usr/bin/perl /var/www/cgi-bin/jmt_launch3.pl"; # print "Location: $no_search_results\n\n"; ---------- Thanks for any suggestions! Brian