Difference between revisions of "ColdFusion 9 Post Parameters"

From Hostek.com Wiki
Jump to: navigation, search
(Created page with "==Upping 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. ...")
 
(Upping Post Parameters on a Coldfusion 9 VPS)
Line 10: Line 10:
 
#Directly after the <nowiki></var></nowiki>, insert a line that reads <nowiki><var name='postParametersLimit'><number>XXXX.0</number></nowiki> where XXXX=the post parameters limit you want to set
 
#Directly after the <nowiki></var></nowiki>, insert a line that reads <nowiki><var name='postParametersLimit'><number>XXXX.0</number></nowiki> where XXXX=the post parameters limit you want to set
 
#Save the file
 
#Save the file
#Open up Start--->Administrative Tools--->Service
+
#Open up Start--->Administrative Tools--->Services
 
#Navigate to Coldfusion 9 Application Server
 
#Navigate to Coldfusion 9 Application Server
 
#Stop Coldfusion 9 Application Server
 
#Stop Coldfusion 9 Application Server

Revision as of 14:22, 22 June 2013

Upping 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 upped 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.