I didn't see any replies and I don't have a complete answer, but I think
you're looking for <CFCONTENT> and/or <CFHEADER>.
> Guys, I have a wee problem that you may be able to answer... if you're free,
> obviously (!)
>
> I'm working with dynamic encryption of web pages using a DLL on a web
> server. I've got it working by writing the binary output (encrypted HTML) to
> file, that's not a problem, I've done that in ASP and CF.
>
> What I can't work out is on-the-fly delivery of the binary contents of a
> memory buffer.
> In ASP, the code looks thus:
>
> Response.ContentType = "application/vnd.sealedmedia.softseal.html"
> Response.AddHeader "Content-Length", UBound(outBuf)
> Response.AddHeader "Cache-control", "no-cache"
> Response.BinaryWrite outBuf
>
> NOW - is there any equivalent in ColdFusion for this?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists