We have an application that uses the directory and upload functions that are a part of flash (starting with version 8) to build a list of files and post them one by one to a Coldfusion handler. We took this process from one server, a Coldfusion 6.1 server on Windows 2003, to a new server, a Coldfusion 7.02 server on Windows 2003. Suddenly we noticed a host of new error messages. The errors all indicated that no form data had been posted by the uploader. We checked and files were still being uploaded. It was a mystery.
We beefed up the error handler to pass back the GetHttpRequestData() and the CGI scope in the body of the email it was sending. We also set up an email to send us the same data for healthy, successful requests. We found that the "no form content" requests were all set up with a zero length in the content-length header. We also found that hte "zero length" request and a successful healthy request came in pairs - one followed by the other. It didn't affect everyone either. I googled around and it appears that a certain version of Flash 8 actually sends 2 requests - a zero length request, followed by the actual POST request containing the file data. Once we were sure that the zero content length requests were an anomaly and not a real error we added this code to the top of our handler.