That might explain the problem. The server is running SP6.
---mark
--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 20, 2000 12:37 PM
> To: CF-Talk
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: CFCONTENT download name
>
>
> > > > I'm trying to create an MS Word doc based upon a query and
> > > > information entered on a form preceeding this report
> > > > processing template.
> > > >
> > > > In the processing template I've tried using:
> > > > <cfcontent type="application/msword">
> > > >
> > > > The query runs, but all the information I entered in the form
> > > > preceeding it is lost.
> > > >
> > > > I've tried using:
> > > > <cfcontent type="application/rtf">
> > > >
> > > > This works. The query data and all the info from the preceeding
> > > > form are there, and a download prompt comes up in the browser.
> > > >
> > > > HOWEVER, the initial filename in the download prompt is the name
> > > > of the CFML template which processed it (reports.cfm).
> > > >
> > > > I want the name of the file that shows up in that download
> > > > prompt to be report.doc so that the user won't have to think
> > > > about naming the file correctly when they select a place to save
> > > >it.
> ...
> > > Use this before your CFCONTENT tag:
> > >
> > > <CFHEADER NAME="Content-Disposition" VALUE="inline;
> > > filename=myworddoc.doc">
> ...
> > Sorry. This doesn't work. The form variables are lost.
>
> It should work, as should using a "fake" URL on a pre-SP6 server.
> There are
> examples of both at:
>
> http://www.figleaf.com/demo/mimetest/
>
> If you can't get it to work either way, you might post the code.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with
'unsubscribe' in the body to [EMAIL PROTECTED]