FWIW, you should use the Pragma: no-cache, Expires: 0 and Cache- Control: no-cache, no-store, must-revalidate for such requests to prevent exactly what Charlie is referring to.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"[U]nconstitutional behavior by the authorities is constrained only by the peoples' willingness to contest them"
    --John Perry Barlow


On Aug 28, 2007, at 5:54 PM, Charlie Arehart wrote:

Besides the (as always) sage advice of Dean and Doug, I'll note as well that sometimes when working with this sort of code, things fail simply because the first time you ran the code there was an error, and you fixed it, and refreshed the page, but the browser is still caching the old bad page (or just some aspect of it).

Try closing the browser and reopening it (or even just browsing the page in a new window or tab). Let us know if that works.

There could be other issues, of course. I've not considered your code carefully. This is just such a common problem and easy first solution to try/rule out.

/charlie


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Troy Jones
Sent: Tuesday, August 28, 2007 5:01 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] cfcontent in IE7

Does anyone know why there is an issue in IE7 with <cfcontent>? I used the following code and it works as intended in Firefox but yields a bunch of garbage in IE7. I would appreciate any help I could get.



<cfheader name="Pragma" value="">

<cfheader name="Cache-control" value="">

<cfheader name="Content-Disposition" value="inline; filename=filename.xls">

<cfcontent type="application/vnd.msexcel" file="C:\filepath \subfolder\docs\filename.xls">



Not much help was available from livedocs as this code sample is amost entirely verbatim from their examples.



Troy Jones

Dynapp Support Team

678-528-2952




-------------------------------------------------------------
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to