Question
file download question
I know that I can download a file using <cfheader
name="Content-Disposition" value="attachment;filename=xyz"/>
<cfcontent type="application/msexcel" reset="true"/>
But I don't know why it works and it's driving me crazy. I have looked up HTML header values and can't seem to find attachment anywhere. I have scoured the livedocs but can't find a list of all possible values of cfheader or cfcontent. Can anyone please point me in the direction of some more information on this subject.
P.S.
In an unrelated topic, I am having trouble getting the data that I am posting from a form request to display fresh data and is only displaying the cached page. I am not sure which option i need to change to get live data each time.
<cfcontent type="application/msexcel" reset="true"/>
But I don't know why it works and it's driving me crazy. I have looked up HTML header values and can't seem to find attachment anywhere. I have scoured the livedocs but can't find a list of all possible values of cfheader or cfcontent. Can anyone please point me in the direction of some more information on this subject.
P.S.
In an unrelated topic, I am having trouble getting the data that I am posting from a form request to display fresh data and is only displaying the cached page. I am not sure which option i need to change to get live data each time.