Here's a trick I use a lot: In the link that calls the template containin g CFCONTENT, add "/any.pdf" onto the end.
So, if your CFCONTENT template is at http://mydomain.com/content.cfm, cha nge the URL to: http://mydomain.com/content.cfm/any.pdf The server ignores the last bit, but it forces your browser to recognize the incoming file as the PDF MIME type. It works with FDF, so it'll probably work with PDF, too... Ian -----Original Message----- From: Owen Munton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 6:56 AM To: CF-Talk Subject: RE: cfcontent, pdf, and internet explorer problems Actually, I meant to say that "it does NOT open the acrobat reader" in IE. Thanks, Owen --- James Taavon <[EMAIL PROTECTED]> wrote: > Well, in my experience I have never found a way > around what you are > observing. IE seems to launch apps like Excel, Word > and even PDF files > within the browser environment. I think there may be > a way to shut off this > feature in settings, but it needs to happen on the > client side. I don't > think there is a way to set it from the server-side, > but I could be wrong. > Your only other option would be to launch the PDF in > a pop-up window. > > > -----Original Message----- > From: Owen Munton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 9:31 AM > To: CF-Talk > Subject: cfcontent, pdf, and internet explorer > problems > > > I have a line of code using cfcontent to download a > pdf file that works just fine in Netscape, but in > IE, > it does open acrobat reader, it attempts to display > it > in the browser. The output starts like this: > %PDF-1.2 %���� 1 0 obj<> etc etc etc...... > > Here is my line of code: > <CFCONTENT TYPE="application/pdf" > FILE="c:\pdf\#pdf_id#.pdf" reset="yes"> > > any thoughts, anyone?? > > > Thanks > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

