I'm not explaining myself properly.
I'm in CF8.
I've done Google searches, but either I'm missing an answer
that's in my face or I don't see how to do what I need.
To better explain my situation:
I have a CFM template.
It has an IMG tag. It refers to a JPG witha generiic name
that does not yet exist.
In the CFM template, right before the IMG tag, is code to:
Hit the database and retrieve a BLOB, then write that BLOB with the
generic filename to the place the IMG tag refers to.
There *seems* to be some miscoordination going on. Maybe not,
but it seems so. It seems the HTML is being served to the browser
before the file is completely retrieved and written to disk.
So, I'm wondering if there's a way to keep CF from "moving
on" and serving the HTML to the browser until it knows the file is
retrieved and written to disk.
Or, does CF already do this? Meaning my problem lies
elsewhere.
Thanks.