There is a ColdFusion function where we have to pass more then 100 arguments to get a search result. When passing these 100 odd parameters into the function, ColdFusion throws the error: "404 not found
"
I tried to increase post size Limit in CF server settings from 100 to 300 but am still getting the error.
Increasing the "post size limit" only changes how many megabytes can be received, not the quantity.
For that, you need to increase the "post parameters limit" in neo-runtime.xml
, by adding* or updating the XML node:
<var name='postParametersLimit'><number>300.0</number></var>
Then save the file and restart the ColdFusion server for the changes to take effect.
* If the 'postParametersLimit' field is not present, you can insert it immediately before <var name='postSizeLimit'>
- whilst it's not mandatory to place it there specifically, this is a simple way to ensure it does not get nested invalidly.
Note that this affects the number of form fields (i.e. HTTP POST parameters) being submitted - not the number of arguments to a function, but this is presumably your problem because the latter should not cause a 404 error.
In ColdFusion 10, the post parameters limit is a setting in the Administrator:
Server Settings / Settings / Request Size Limits / Maximum number of POST request parameters
This setting defaults to 100.
Increase it to the required amount of parameters required to be accepted. (We just had to increase ours to 300!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With