This is a multi-part message in MIME format.

------=_NextPart_000_0029_01C052EE.4AD96870
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have come across an interesting problem when using cfcontent in IE =
5.5.  The problem is when you use the cfheader tag as used below with =
cfcontent it delivers the content of the previous page.  If you use it =
with IE 5.01 and below or Netscape (I've tested it with version 4.07 and =
6) it works great.

I found a thread in the Allaire forums, but it didn't have a good =
solution.  The solution in the thread works, but the file that is served =
back to the user is the file you requested, but is named after the =
template it came from.

Thread: =
http://forums.allaire.com/devconf/Thread.cfm?&Message_ID=3D608454&_#Messa=
ge608454

Any information would greatly be appreciated.

<!--- Code Snippet --->
<CFHEADER NAME=3D"Content-Disposition" value=3D"attachment; =
filename=3Dtest.zip">
<cfcontent file=3D"/path/test.zip" type=3D"unknown">

Thanks,
Eric Bradfield

------=_NextPart_000_0029_01C052EE.4AD96870
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have come across an interesting =
problem when=20
using cfcontent in IE 5.5.&nbsp; The problem is when you use the =
cfheader tag as=20
used below with cfcontent it delivers the&nbsp;content of the previous=20
page.&nbsp; If you use it with IE 5.01 and below or Netscape (I've =
tested it=20
with version 4.07 and 6) it works great.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I found a thread in the A</FONT><FONT =
face=3DArial=20
size=3D2>llaire forums, but it didn't have a good solution.&nbsp; The =
solution in=20
the thread works, but the file that is served back to the user is the =
file you=20
requested, but is named after the template it came from.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thread: <A=20
href=3D"http://forums.allaire.com/devconf/Thread.cfm?&amp;Message_ID=3D60=
8454&amp;_#Message608454">http://forums.allaire.com/devconf/Thread.cfm?&a=
mp;Message_ID=3D608454&amp;_#Message608454</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any information would greatly be=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;!--- Code Snippet =
---&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;CFHEADER =
NAME=3D"Content-Disposition"=20
value=3D"attachment; filename=3Dtest.zip"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;cfcontent file=3D"/path/test.zip"=20
type=3D"unknown"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Eric =
Bradfield</FONT></DIV></BODY></HTML>

------=_NextPart_000_0029_01C052EE.4AD96870--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to