coldfusioncoldfusion-2016cfform

What does cfform enablecab="No" do?


I am working on a lot of ColdFusion legacy code. I am seeing

<cfform action="xxxx.cfm" method="POST" enablecab="No">

I am working on retiring <cfform> but I am at a loss as to what enablecab="No" does.

QA has spotted the change, but I am at a loss as to how to describe the change. This system was recently updated from CF10 to CF2016


Solution

  • The enableCAB attribute was around when Java applets were still a thing and ColdFusion used them to make things such as <cfform> (and its input parts) "more rich". Enabling enableCAB prompted the user to download the required applet classes as a .cab file (Microsoft's archive format) speeding up the transfer. It was thus only available for Internet Explorer and required Microsoft's Code Signing (Authenticode).

    The attribute's functionality was removed without substitution in ColdFusion MX (ColdFusion 6) back in 2001. However, the attribute is still read and completely ignored in newer versions.