<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 haven't ever had issues.
cheers,
barneyb
On Mon, 26 Jul 2004 13:06:35 -0400, Evan Lavidor
<[EMAIL PROTECTED]> wrote:
> 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 & "\" & variables.filename>
> <cfcontent type="application/pdf" deletefile="no" file="#variables.pdf_to_display#">
>
> In Mozilla, this works great. In IE, the user just gets a blank white screen, rather than the PDF.
>
> I've seen various postings on google groups, etc. regarding this, but no solution suggested (besides modifying a setting in IE, which is really not feasible for a public Web site). Does anyone know if there is a solution, or whether this is just a known issue?
>
> I could redirect users to a non-ssl page after the form submission, but then the user gets a security prompt... I'm not sure there's a great solution here, so if anyone has any ideas I'd greatly appreciate it.
>
> Thanks,
>
> Evan
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

