Skip to main content
Participating Frequently
July 31, 2012
Answered

HELP!!! Wierd CF 9.02 issue when "to many" form fields are posted in "post" method

  • July 31, 2012
  • 2 replies
  • 1412 views

So we just installed cf9.02 64 bit on all brand new windows server 2003 machines and migrated all code over and we have run into the wierdest (and very dead on the water) issue, any form posting to a cf templae with a "large" amount of fields using method = "post"  barfs, works fine with method = "get" or with a smaller amount of fields.  Here are some "basic" examples I pulled out of our app:

https://dev1.mystudentsprogress.com/testposting/smallform.html --> this is using method = "post" and works fine with a small number of fields, click save and it calls a cf template that simply says "index.cfm here"

https://dev1.mystudentsprogress.com/testposting/formget.html ---> this is using method = "get" and also works fine, click save  and it calls a cf template that simply says "index.cfm here"

https://dev1.mystudentsprogress.com/testposting/formpost.html --> this is using method = "post" and it barfs, click save and you get an error 500 page

And once this happens the "next" call for even the succesfull pages returns a blank page i.e. go here:

https://dev1.mystudentsprogress.com/testposting/smallform.html and click save

No go here again and click save:

https://dev1.mystudentsprogress.com/testposting/smallform.html


...there is nothing in any of the CF logs indicating any kind of errors, it just flat barfs on forms with post method and a large amount of fields, clearly a MAJOR issue as our app has lots ot screens with lots of fields!!

    This topic has been closed for replies.
    Correct answer JR__Bob__Dobbs

    You might investigate the postParametersLimit and postSizeLimit values in your server's neo-runtime.xml file.  I suspect you'll need to increase the values for those two settings.  Remember to back up this file before making any changes. You will need to restart the CF server to apply any changes made to the settings in this file.

    See the CF 9.0.2 release notes for more information: http://helpx.adobe.com/coldfusion/release-note/coldfusion-9-0-update-2.html

    2 replies

    Participating Frequently
    May 12, 2015

    Moderator please delete this thread.

    JR__Bob__DobbsCorrect answer
    Inspiring
    July 31, 2012

    You might investigate the postParametersLimit and postSizeLimit values in your server's neo-runtime.xml file.  I suspect you'll need to increase the values for those two settings.  Remember to back up this file before making any changes. You will need to restart the CF server to apply any changes made to the settings in this file.

    See the CF 9.0.2 release notes for more information: http://helpx.adobe.com/coldfusion/release-note/coldfusion-9-0-update-2.html

    Inspiring
    July 31, 2012

    To clarify.  I would increase the postParametersLimit  value to handle a larger number of form fields.  I would increase the postSizeLimit to handle large form submissions, such as when uploading (posting) files from client to server.

    Participating Frequently
    July 31, 2012

    Yep that was it the postParametersLimit setting default of 100 was not high enough for our large data input forms