Re: $.get URL length CF10/Tomcat
Shouldn't you switch to $.post if your URL is getting too long? On Wed, Nov 21, 2012 at 7:28 AM, Dave Watts wrote: > > > We have run into a problem with CF10 where we throw a 500 error when the > URL string to a CFC call > > is too long. Does anyone know what setting needs changed?? > > > > isapi_redirect.log error is: jk_isapi_plugin.c (1920): error while > getting the url > > > > We are running CF10 w/ IIS 7.5 > > Does the URL exceed 2048 bytes? If so, you'll need to increase the > value within the IIS Management Console ... Request Filtering ... Edit > Feature Settings. You can also control this setting via web.config, > appcmd.exe, and scripting: > > > http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits#001 > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: check validity of zip file with cfzip
> Is there any to check the validity of a zip file with cfzip. I can't see > anything in the docs. > The only way I could see was to do a cftry, but that seemed cumbersome. > My problem is that I receive a zipped file from an external source, so need > to be able to verify that it is a valid zip file There's no way to check validity with CFZIP other than by unzipping the file, which really is the only way to really ensure that the file can be unzipped anyway. You can use Java to directly check for the "magic number" that zip files contain in their first four bytes (and you can probably do that in CF too, I've never tried), but not with CFZIP specifically. But honestly, that just tells you that you have a zip file, not that you have a usable zip file. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: $.get URL length CF10/Tomcat
> We have run into a problem with CF10 where we throw a 500 error when the URL > string to a CFC call > is too long. Does anyone know what setting needs changed?? > > isapi_redirect.log error is: jk_isapi_plugin.c (1920): error while getting > the url > > We are running CF10 w/ IIS 7.5 Does the URL exceed 2048 bytes? If so, you'll need to increase the value within the IIS Management Console ... Request Filtering ... Edit Feature Settings. You can also control this setting via web.config, appcmd.exe, and scripting: http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits#001 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
$.get URL length CF10/Tomcat
We have run into a problem with CF10 where we throw a 500 error when the URL string to a CFC call is too long. Does anyone know what setting needs changed?? isapi_redirect.log error is: jk_isapi_plugin.c (1920): error while getting the url We are running CF10 w/ IIS 7.5 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm