HTTP Implementation Sketchy in CF 5?

…posted by davidjmedlock:

Okay, this is a bit of an annoyance. I was writing an application for managing logos in a system where many clients log in. We’d get the client ID, retrieve the most recent logo and display it. The problem was, this system was written in ColdFusion, but had to be used in a .Net app, as well.

No problem, I thought. I can use CFCONTENT to return this as an image and all they have to do is put the URL to the CF template path in their IMG SRC attribute, like this:

Then in the CF template, I’d do this:

But, does this work in ColdFusion 5? No! Apparently CF 5 has some issues with its HTTP implementation. Whenever I did the


It works okay. Now, I know some are going to say “Did the file that you were trying to return actually exist ?” Yes it did. I double, triple and quadruple checked that. I checked everything I could think of, making sure the file existed, that it was returning the correct MIME type, etc. etc. etc. Still no luck. Ah well, just one more query for the .Net guy to run…

BTW – I haven’t forgotten about the BlueDragon testing. I actually downloaded it and the installation guide. Unfortunately, you can’t have BlueDragon and ColdFusion installed on the same IIS server, so I’ll have to wait until I have time to uninstall/reinstall, etc. before I can test it. Also, they’re currently developing a .Net version of BlueDragon that will allow ColdFusion to integrate with .Net as it integrates with Java. Yay!

‘Til next time, have fun!


Category: software Time: 2004-02-12 Views: 1

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.161 (s). 12 q(s)