I'm wondering if anyone else has seen this issue.

Use the following code to get files from the server for end users

GetFile.cfm
------------
<cfsilent>
<cfset mimeType = getPageContext().getServletContext().getMimeType(folder & 
filename)>
<cfheader name="Content-Disposition" value="Attachment; filename=#filename#">
<cfheader name="Expires" value="#Now()#">
<cfheader name="Content-Length" value="#fileInfo.size#">
<cfcontent type="#mimeType#" file="#folder##filename#" deletefile="No">

It works fine however, I do not see the 'Always ask for this type of file' 
check box, it's missing. The type of file is noted as is the size in the dialog 
box. These files come from out side the web root, in an unshared folder with 
permissions to 'read' for 'Everyone', though I don't grant direct access in 
anyway to everyone.

However if I do a direct link to a file in a folder in the web root or virtual 
dir on the web server, the 'Always ask for this type of file' check box is 
present.

Ever seen this? Know what it means? I need it to be consistent everywhere so 
the users of the intranet can uncheck the box. Header info I'm missing?

Environment:
Server 2008 R2-64bit / IIS7.5
CF9
IE 7.0.5

Thanks for your thoughts,
Brent 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to