Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

App works on CFUSION 9 but not CFUSION 10

I am in the process of moving some of my development work from colfdfusion 9 to coldfusion 10. Run into a problem with one section of an application. Basically a form gets completed and then submitted - this works perfectly with vrs 9 but on version 10 I get the following error after hitting the submit button. The form passes a hidden variable which is a value list to the action page. It would seem that this value list is too big for coldfusion 10 to handle, but ok with Vrs 9 ?

=====================================================================
ERROR HTTP 400  POST PARAMETERS EXCEEDS THE MAXIMUM LIMIT

The request sent by the client had syntax problems - POST parameters exceeded the maximum limit

Apache Tomcat/7.0.23
===================================================================

Are there some settings i need to set on version 10 ? or some functionality which is no longer supported on version 10 ?

Attached is the client pageFORM-update-ChequesHELD.txt.
0
jameskane
Asked:
jameskane
  • 2
1 Solution
 
_agx_Commented:
Are there some settings i need to set on version 10 ?

Yes.  They added a new feature that limits the number of form fields you can post to protect against a certain type of DOS attack. The default limit is 100 form fields. More than that causes an error.   You can read more about it here:

www.experts-exchange.com/Web_Development/Web_Languages-Standards/Cold_Fusion_Markup_Language/Q_27810818.html

In CF 10, this setting can be changed through the CF Administrator. Under Server Settings, increase the "Maximum number of POST request parameters" value from 100 to whatever is appropriate for your app.
0
 
jameskaneAuthor Commented:
FANTASTIC !!

Very many thanks agx !!
0
 
_agx_Commented:
Welcome :)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now