Reputation: 87
I have a site that uses AJAX almost exclusively to read and post data. While just leaving the page sitting for a while, without clicking around, I'll get the following error:
error 12031: ColdFusion.Ajax.submitForm: Error submitting form, id: nForm.
nForm
is one of the form names, but it seems to happen to some others as well.
This seems to only happen in Internet Explorer, but I can't confirm that. Does this have to do with simultaneous calls to the database? Do I change something up in the ColdFusion administrator setting?
Any help would be greatly appreciated, I can provide more info if needed.
Upvotes: 0
Views: 364
Reputation: 11054
When given the choice in libraries to do AJAX with, you could use jQuery, from a group of people that have focused on making sure everything is cross-browser compatible, tests thoroughly, and fixes bugs; or you could use the built in library from Adobe who have always written poor, bug riddled client side code and have about the worst track record of fixing bugs that don't immediately affect their bottom line.
I love CF, but wouldn't touch that ajax library with a ten foot pole. Switch over to jQuery 1.9.x. It's better documented, better written, and there is a much broader range of developers that can help you with it when you have problems.
Upvotes: 1