Just to clarify, you do not need to use header tags in the page to disable caching. My Web server knows enough to not cache cfm files without specifying anything in the file itself. Since the user is hitting a .cfm page, you could be running into a no-cache directive at the Web server level. An
I have a form that resides on an SSL site.It submits to another SSL page and after inserting the data into our SQL Server db (via cfstoredproc), it does a cfcontent to display a pdf, using the following:
cfset variables.pdf_to_display = Request.fileRoot \ variables.filepath \
Throw a CFHEADER tag in there:
cfheader name=Content-Disposition value=attachment;
filename=#variables.filename# /
cfcontent file=#variables.pdf_to_display# type=application/pdf
deletefile=false reset=true /cfabort /
Not sure if that'll solve your problem, but that's how we always do
it, and
Hi Barney,
Thanks for the suggestion.When I do that, then the user is prompted to open or save the file (and opening doesn't work - at least from IE), as opposed to simply using the acrobat plugin to open the file in the user's browser.
I'd like it to function just like linking to a PDF would.
try changing attachement to inline in the CFHEADER tag.
cheers,
barneyb
On Mon, 26 Jul 2004 14:25:06 -0400, Evan Lavidor
[EMAIL PROTECTED] wrote:
Hi Barney,
Thanks for the suggestion.When I do that, then the user is prompted to open or save the file (and opening doesn't work - at least from
Thanks for the suggestion.inline produces the same effect as I was seeing originally.Namely, the PDF doesn't display.If I take the SSL out of the equation, everything works fine.
If anyone has any other ideas, I'd be most grateful.
Thanks,
Evan
try changing attachement to inline in the
in the cfheader
based on user preference for download prompts or automatic inline
viewing.
Ken
-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 4:00 PM
To: CF-Talk
Subject: Re: cfcontent and ssl/https issue
Thanks for the suggestion.inline
preference for download prompts or automatic inline
viewing.
Ken
-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 4:00 PM
To: CF-Talk
Subject: Re: cfcontent and ssl/https issue
Thanks for the suggestion.inline produces the same effect as I
There is a bug in MSIE regarding the display of cached SSL documents that I
have seen. There is a MS Tech note about it. I believe it goes something
like this: If the site is an SSL site, and the directive is to not cache,
Windows will not save the document anywhere on the hard drive. PDF files
To: CF-Talk
Subject: Re: cfcontent and ssl/https issue
Nope, I'm not using any cfheader or meta tags to control caching.
I've actually built a simple page that includes very little content.
Even hard-coding the path to the PDF rather than building it from db
values, just to limit the number
10 matches
Mail list logo