Forum Moderators: coopster
I have a web app that loads large forms based on queries to MySQL. The amount of data that is loaded can be quite large. Sometimes the form (and therefore the page in the browser) loads with incomplete data - the page might end prematurely - it might be truncated before the end.
It would appear that the connection was slow and the query wasn't finished or that the page was loaded before all of the data was processed and loaded. And it doesn't happen consistently.
Is this common? Is it a server issue? Can I code around it? Does my host need to tweak something in MySQL or PHP or Apache?
Let me know if you need more info.
Thanks in advance
Tom
Whether it's a browser issue or client memory issue, or something else, I'd figure it's not as large an issue as whether a visitor is acutally going to fill out such a user-unfriendly large form. I suggest that you break your forms down into smaller chunks of multiple pages.
That's a legitimate suggestion, except it not only happens on a form that needs to be filled out. It also occasionally happens on a page that simply displays info about a 'subject'. It can be quite lengthy and depending on the info some of it will need to loop from two to five times. It involves a number of queries and at least one smallish image.
But if I can't come up with any other theories, I may have to split it up into sections to see if it resolves it.
We'll see.
Thanks
Tom