Hi G,
please reply to all recipients.
On Sun, 30 Aug 2015 21:47:47 +
G M iamnotregiste...@hotmail.com wrote:
Hi,
Can anyone help me with this?
I have two scripts, the first one calls the exec command which then invokes
the second script. The second script then creates a fork process. The child
process in the fork does a webservice query which may take a few minutes to
return results. What I want to do is forward the user to a Searching for
results page which polls periodically for results. Eventually it will
display the search results. How can I do this? Once the background fork
process is running I have no idea how to get forward the user to a new page
and display the results on that page. Any help with this would be great as
I'm pretty much stumped.
You may wish to look at:
1. AJAX / Redirects - see https://en.wikipedia.org/wiki/Ajax_%28programming%29 .
2. Async / event-driven programming - http://perl-begin.org/uses/multitasking/ .
3. Sockets / networking (or something filesystem based with locks).
4. Your web-service configuration for mapping a service URL.
Regards,
Shlomi Fish
Note: perl-begin.org is a domain I maintain.
--
-
Shlomi Fish http://www.shlomifish.org/
Escape from GNU Autohell - http://www.shlomifish.org/open-source/anti/autohell/
What's the point of claiming your code is illegal?
I might anger a few, but I just wanna sue
— http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/