Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

attachment download - IIS - SSL

Status
Not open for further replies.

slippenot

Programmer
Oct 31, 2006
7
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top