Hi All
I would very much appreciate your help:
I have two scripts alternating in the background triggering themselves
mutually. Here is how:
1.)
Script A does something and then calls Script B through the header()
function. Using something like
header("Locatio n:http//mydomain.com/scriptb.php");
2.)
Script B then does something as well and afterwards calls Script A
again also using the header() function.
After exactly 10 rounds my browser suddenly shows an PHP error message
which mentions a "circular redirection" error aborting the script.
QUESTION:
Is there a way to avoid that error?
PURPOSE:
The two-script-concept was supposed to be a solution to prevent
time-outs during time consuming processes by simply handing the
process over to another script before the time limit is reached thus
initiating a new script session by the other script which would
continue the process. In other words: The process is being kicked back
and forth between the two scripts until it's finished.
Any ideas ???? Thank you guys.
Jerry
I would very much appreciate your help:
I have two scripts alternating in the background triggering themselves
mutually. Here is how:
1.)
Script A does something and then calls Script B through the header()
function. Using something like
header("Locatio n:http//mydomain.com/scriptb.php");
2.)
Script B then does something as well and afterwards calls Script A
again also using the header() function.
After exactly 10 rounds my browser suddenly shows an PHP error message
which mentions a "circular redirection" error aborting the script.
QUESTION:
Is there a way to avoid that error?
PURPOSE:
The two-script-concept was supposed to be a solution to prevent
time-outs during time consuming processes by simply handing the
process over to another script before the time limit is reached thus
initiating a new script session by the other script which would
continue the process. In other words: The process is being kicked back
and forth between the two scripts until it's finished.
Any ideas ???? Thank you guys.
Jerry
Comment