Author: Michael Christensen
I have a variables (Pic) which contains image data read with cffile.
In order to write it directly back to the browser, I use the following code:
<cfheader name="Content-Type" value="image/jpeg">
context = getPageContext();
response = context.getResponse().getResponse();
out = response.getOutputStream();
This all works great, but I'd like to add an Expires header, in order to conserve
requests and bandwidth.
I am not able to get this to work, so has anyone ever created something similar
and been able to succesfully implement Expires headers?