I have created a bit of custom code however it does make a lot of database calls, it is designed to email a batch of customers maybe 30 tops, pull up their past orders and items and email it to them.
The issue is for one order it works fine, however for larger numbers of results it loads for maybe 3-5 seconds then shows PageNotFound.
It would seem to be a timeout issue.
How can I extend the time for a single page?
Thanks in advance