Hi,
I'm running a site which uses a script with some pretty heavy processing to do on user input, to generate a new page. This means that the user has to wait a long time for the next page, which is not good.
I have redesigned the script to update a database then go to the previously printed version of the page, which is instant, but doesnot contain the changes. That's okay because it frees them up to carry on working. My question is how can I action a script to create a new page in the background so that the next time the user inputs, the new page is ready to view?
I am currently doing this by cron but I would prefer the update to be actioned by the user during the use of the script, on the basis that the update script is 'pinged' but operates independently so the user can go ahead with the next task, without being delayed by the processing.
I'd be interested in the thoughts anyone might have to action this.
In reply to calling one cgi script from another by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |