ColdFusion 9 Post Parameters

From Hostek.com Wiki
Revision as of 20:10, 22 September 2014 by Jakeh (Talk | contribs) (Upping Post Parameters on a Coldfusion 9 VPS)

Jump to: navigation, search

Increasing Post Parameters on a Coldfusion 9 VPS

After the most recent hotfix to ColdFusion 9, the post parameters(number of items in a form for example) are limited to 100. In ColdFusion 10, this limit can be increased in the CF Admin but in CF9 it requires editing of the neo-runtime.xml file. If you are running into an error that post parameters limits is exceeded, follow these steps.

  1. Navigate to your ColdFusion home directory (Example: C:\ColdFusion9)
  2. Go to the LIB directory inside the home directory
  3. Make a copy of the file called Neo-runtime.xml and name it neo-runtime.bak, this is for a backup in case any mistakes are made
  4. Edit the neo-runtime.xml file
  5. Find a line that reads <var name='postSizeLimit'><number>100.0</number></var>
  6. Directly after the </var>, insert a line that reads <var name='postParametersLimit'><number>XXXX.0</number> where XXXX=the post parameters limit you want to set
  7. Save the file
  8. Open up Start--->Administrative Tools--->Services
  9. Navigate to Coldfusion 9 Application Server
  10. Stop Coldfusion 9 Application Server
  11. Once it has fully stopped, start Coldfusion 9 Application Server for the changes to take effect


These steps will up the post parameters limit to what you set and allow for you to have larger form submissions.