change the mime type to octet/stream.....it fakes out the browser and always forces a download ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  ----- Original Message -----
  From: Deanna Schneider
  To: CF-Talk
  Sent: Wednesday, February 11, 2004 12:51 PM
  Subject: cfcontent on cfmx/linux

  Hi all,
  We're in the process of upgrading to CMFX on linux from CF 5.0 on Windows.

  Some excel download code no longer works:
  <CFHEADER NAME="Content-Disposition" VALUE="attachment;
  filename=foodcosts.xls"> <CFCONTENT TYPE="application/msexcel">

  Results in '); } } function writeCloseBody() { if( debugMode ) {
  document.write('
  in the excel spread sheet - nothing else.

  If I comment out this code, I get the html table, like I expect.

  I've done a search, but haven't seen anything. Anyone have any insight?

  -Deanna

  --
  Deanna Schneider
  UWEX-Cooperative Extension
  Interactive Media Developer
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to