Unless you want the users system to try and open the file in the
associated program, don't use a specific type...

Here is an example...

<cfheader
name="Content-Disposition"
value="attachment;
filename=#DOCUMENT_NAME#.#DOCUMENT_EXTENSION#">

<cfcontent
file="#variables['strDoc']#"
type="application/x-unknown"
deletefile="No" />

HTH,

Mike

> ok but since it'n in pdf what type do i use in cfcontent? and
> is it gonna stop the rest of the page?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to