Hey,
The page I'm working with is pretty complex. It makes several calls (upwards of 20) out a VPN connection to retrieve data and execute commands on an external source. Each call retrieves data responses. We send several notification emails throughout the process.
I know these theoretical questions are a pain, but I'm hoping someone has had a similar experience and solved it.
So, here's the problem: The last couple of emails sometimes fail to send. It really seems like the end of the page just fails to execute sometimes.
We include a confirmation page, and then send an acknowledgment email and sometimes also a confirmation email.
everything else in the process works but sometimes customers say they never got the confirmation page, it just got stuck loading and never showed it. Other times they get the confirmation page but the emails don't go out.
I've never seen a timeout in the logged errors though. Is there something that could cause the page to just give up? I'm suspicious of the way the emails are sent and confirmation page is loaded as they are both done via an Include. I'm not sure why they weren't just turned into functions and called but this is how it is. Could the included scripts be passing the execution time and not be passing the Timeout error back to the main script?
Please let me know your thoughts on this, I'm stumped
Travis Hawkins
jobs.bestcodingpractices.com
The page I'm working with is pretty complex. It makes several calls (upwards of 20) out a VPN connection to retrieve data and execute commands on an external source. Each call retrieves data responses. We send several notification emails throughout the process.
I know these theoretical questions are a pain, but I'm hoping someone has had a similar experience and solved it.
So, here's the problem: The last couple of emails sometimes fail to send. It really seems like the end of the page just fails to execute sometimes.
We include a confirmation page, and then send an acknowledgment email and sometimes also a confirmation email.
everything else in the process works but sometimes customers say they never got the confirmation page, it just got stuck loading and never showed it. Other times they get the confirmation page but the emails don't go out.
I've never seen a timeout in the logged errors though. Is there something that could cause the page to just give up? I'm suspicious of the way the emails are sent and confirmation page is loaded as they are both done via an Include. I'm not sure why they weren't just turned into functions and called but this is how it is. Could the included scripts be passing the execution time and not be passing the Timeout error back to the main script?
Please let me know your thoughts on this, I'm stumped
Travis Hawkins
jobs.bestcodingpractices.com