I have a page where i would like users to save/download images to their machine. Im currently using the following code:
<cfheader name="Content-Type" value="image/jpeg">
<cfheader name="Content-Disposition" value="attachment;filename=#filename#">
<cfcontent type="image/jpeg" file="#absolutepath#/#filename#" deletefile="no">
Unfortunately this is not working with SSL. I receive the error where it says its not able to download. Ive read where you have to update the the cache-control and expire header variables but I'm still not able to get it to work.
Ive also read where this is only a problem with IIS and SSL
<cfheader name="Content-Type" value="image/jpeg">
<cfheader name="Content-Disposition" value="attachment;filename=#filename#">
<cfcontent type="image/jpeg" file="#absolutepath#/#filename#" deletefile="no">
Unfortunately this is not working with SSL. I receive the error where it says its not able to download. Ive read where you have to update the the cache-control and expire header variables but I'm still not able to get it to work.
Ive also read where this is only a problem with IIS and SSL