iis 7 - How to change the amount of fields that can be posted in a form with IIS 7.5? -
we've nail problem forms in admin portion of our web app. there handful of forms contain big number of fields (it can range anywhere 1 input field hundreds).
we've found these forms grow, there point server throw 500 errors when form posted.
after running test, able find server can handle forms 100 fields in them; 1 time 101 or more fields used, errors.
we run coldfusion, , have determined coldfusion not throwing error. never see error logged in coldfusion, assuming iis throwing error before sends request coldfusion server.
i'm assuming there setting in iis 7.5 can limit. i've searched on web, can find how raise byte-size limits of data, not kind of limit on number of fields allowed.
so, right in assuming can changed, , if so, how can done?
this issue introduced hotfix apsb12-06. while coldfusion error, people have reported receiving error in tomcat, before supposedly nail cf server
there setting in neo-runtime.xml
defines postsizelimit
- , defaulted 100.
the total notes located here, here short version.
this hot prepare has new setting in coldfusion, post parameter limit. setting limits number of parameters in post request. default value 100. if post request contains more parameters specified, server doesn't process request , throws exception. process protects against dos attack using hash collision. setting different post size limit (coldfusion administrator > settings > maximum size of post data). setting isn't exposed in coldfusion administrator console. can alter limit in neo-runtime.xml file. see point 5 below. customers want alter postparameterlimit, go {coldfusion-home}/lib server installation or {coldfusion-home}/web-inf/cfusion/lib multiserver or j2ee installation. open file neo-runtime.xml, after line.
<var name='postsizelimit'><number>100.0</number></var>
add line below , can alter 100 desired number.
<var name='postparameterslimit'><number>100.0</number></var>
cf10+ has setting available edit within cf admin settings page under maximum number of post request parameters
under server settings -> settings
.
on our 9.0.1 server, increased setting 10000 , have seen no adverse effects.
iis iis-7 coldfusion iis-7.5 http-post
No comments:
Post a Comment