Better yet, make it unobtrusive by using rel=external in the A-tag.
the needed JS:
$(document).ready(function(){
$(a[rel=external]).each(function(){
this.target=_blank;
});
});
Sebastiaan Naafs - van Dijk
http://onlinebase.nl/
On 02/10/2014 04:12 PM, Rob Voyle wrote:
Thanks
Hi folks
I am using
cfheader name=Content-disposition value=inline;filename=#handout#
cfcontent type=application/pdf file=#handoutfile# deleteFile = no
to display a pdf and it works fine, but I would like to open it in a new window
Is there a way to open the pdf in a new browser window
Why not put target=_blank in the a tag on the page that is linked to
the pdf?
Steve
On Mon, Feb 10, 2014 at 9:56 AM, Rob Voyle robvo...@voyle.com wrote:
Hi folks
I am using
cfheader name=Content-disposition value=inline;filename=#handout#
cfcontent type=application/pdf file
Thanks Steve - so simple!
On 10 Feb 2014 at 10:02, Steve Milburn wrote:
Why not put target=_blank in the a tag on the page that is
linked to
the pdf?
Steve
~|
Order the Adobe Coldfusion Anthology now!
I'm attempting to use cfheader/cfcontent to allow our users to download files
and programs from our site. With *.exe files it is
copying the file name correctly but the size does not match to the original
file size. For example, the site has a file named WG.exe
with a size of 1587KB
I'm attempting to use cfheader/cfcontent to allow our users to download files
and programs from our site. With *.exe files it is copying the file name
correctly but the size does not match to the original file size. For example,
the site has a file named WG.exe with a size of 1587KB
Randy,
This is more than likely your web server restricting the downloading of
.exe files and not ColdFusion. Check with your server config.
On Tue, Jun 18, 2013 at 4:13 PM, Randy Robinson rlrobin...@sartellgroup.com
wrote:
I'm attempting to use cfheader/cfcontent to allow our users
Since I can't password protect a zip file I need to protect, I'm trying a
different approach. I build the file, read the content with CFFILE (this
works), delete the file, then try to server it out with CFHEADER.
When I have a physical file CFHEADER serves it fine, but when I try to serve
When I have a physical file CFHEADER serves it fine, but when I try to serve
it from the CFFILE READ variable it don't serve. Any idea what I'm doing
wrong?
cfset getfile=mypath\myfile.zip
cfset file_size=getFileInfo(getfile).size
cffile action=read file=#getfile
=#application.rootpath#\admin\custom1\tempfiles\#to_purge.name#
/cfloop
cfheader name=Content-Disposition
value=attachment;filename=#file_name#.zip
cfheader name=Content-Length value=#file_size#
cfcontent type=application/zip variable=#serve_file#
cfheader name
...@figleaf.com]
Sent: Tuesday, June 26, 2012 10:27 PM
To: cf-talk
Subject: Re: CFHeader Problem
What's wrong with the below?
cfheader name=Content-Disposition value=attachment;
filename=myfile.zip
cfcontent type=application/zip
file=d:\inetpub\wwwroot\thedirectory\myfile.zip
What's wrong with the below?
cfheader name=Content-Disposition value=attachment;
filename=myfile.zip
cfcontent type=application/zip
file=d:\inetpub\wwwroot\thedirectory\myfile.zip
The file is there and the path is correct. I can download the file directly by
typing in http
What's wrong with the below?
Don't you need RESET=yes inside the CFCONTENT tag?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_williams
-Original Message-
From:
Sent: Tuesday, June 26, 2012 11:04 AM
To: cf-talk
Subject: Re: CFHeader Problem
What's wrong with the below?
Don't you need RESET=yes inside the CFCONTENT tag
Apparently the problem with cfheader is a file size issue. As of CF9, it seems
to load the entire file into memory before downloading it, so if the file is
too large you get the out of memory. Apparently this was not a problem in
previous CF Releases, which explains why this used to work
I believe you can get round this by using a but of java code instead of
cfheader. It has more than likely been documented on this list before as
well as blogs.
Regards
Russ Michaels
On Jun 26, 2012 5:41 PM, Robert Harrison rob...@austin-williams.com
wrote:
Apparently the problem with cfheader
What's wrong with the below?
cfheader name=Content-Disposition value=attachment;
filename=myfile.zip
cfcontent type=application/zip
file=d:\inetpub\wwwroot\thedirectory\myfile.zip
The file is there and the path is correct. I can download the file directly
by typing
: Tuesday, June 26, 2012 11:04 AM
To: cf-talk
Subject: Re: CFHeader Problem
What's wrong with the below?
Don't you need RESET=yes inside the CFCONTENT tag?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com
://www.austin-williams.com
Blog: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_williams
-Original Message-
From:
Sent: Tuesday, June 26, 2012 11:04 AM
To: cf-talk
Subject: Re: CFHeader Problem
What's wrong with the below?
Don't you need RESET=yes inside
I'm running into a problem using cfheader, and wondering if there's a
workaround. What's happening is this:
I have a form page, and onSubmit of the form, a js validation function is
called. This performs a number of tasks in addition to validation, and during
its execution it looks
as the names suggest, cfheader is for creating HTTP response headers and
cfcontent is for sending mime encoded content (generally that of a file).
cfcontent can set the mime content header but it's the only header it sets.
http://cfdocs.org/cfheader
http://cfdocs.org/cfcontent
Difference between cfcontent and cfheader in terms its usage?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com
Difference between cfcontent and cfheader in terms its usage?
Generally, cfcontent is used to serve up a file from the server
through ColdFusion (could be a generated PDF document, tracking image,
or any other file you want to have ColdFusion serve up for you through
the code). You can also
(variables.range,-)/
cfset variables.rangeLength = variables.max - variables.min + 1/
cfheader statuscode=206 statustext=Partial Content
cfheader name=Accept-Ranges value=bytes
cfheader name=Content-Range value=bytes
#variables.range#/#getFileSize.size
I have come up with a solution but it is not working 100%. It seems like the
Content-Range header is not working. I return the correct Content-Length,
but it always starts at the beginning of the file. See code below...
...
cfcontent type=application/octet-stream file=#decryptedDoc#
CF isn't going to know anything about your range headers. It's just
going to serve the file. If you wanted to serve part of the file,
you'd have to read it into memory and serve the slice that you want
to
serve.
Using cffile read? Is 1 character considered to be a byte?
Using cffile read? Is 1 character considered to be a byte?
Usually, a character is one byte in size, but you can use the
READBINARY action value instead, and use ToBase64 to serve it.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is
Does anyone know how to get Content-Range returned as a header response when
the request has Range: bytes=in it? I added cfheader
name=Accept-Ranges value=bytes but do not get the Content-Range back.
~|
Order the Adobe
Does anyone know how to get Content-Range returned as a header response when
the request has Range: bytes= in it?
I added cfheader name=Accept-Ranges value=bytes but do not get the
Content-Range back.
CF, like most application servers in my experience, will not honor
things like
Is there a way to serve content via a .cfm file...
cfheader name=Content-Disposition value=inline;
filename=#article.filename#
cfcontent type=#article.mime_type# file=#article.link# /
If you click Save As it want's to save it as serve.cfm.htm
We always force a download by setting
Is there a way to serve content via a .cfm file and if the user right
clicks and chooses Save As it would save the file as the filename
attribute and not the name of the CF file serving the content?
For example..
serve.cfm
cfheader name=Content-Disposition value=inline;
filename
On 2/23/2011 4:42 AM, Richard Steele wrote:
cfset xOutput = République
uh, is this text actually utf-8 (ie what editor, etc did you use to create this
page)? because your code works fine (well with cfoutput added) from cfbuilder.
On Tue, Feb 22, 2011 at 10:42 PM, Richard Steele wrote:
I'm trying to save a text file that has foreign characters.
If you want to instruct the browser to save a file instead of trying
to render it to the user, you need to set a content disposition in
combination with a MIME type of
I'm trying to save a text file that has foreign characters.
You simply cannot specify a charset in a plain .txt file.
A text file is simply a string of characters in ASCII. Unlike an HTML page, it
does not contain any header to specify a character set.
If it contains special characters above
On 2/23/2011 9:12 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
If it contains special characters above 127, they will be interpreted in the
default character set of the operating system.
unless there's a BOM.
For instance under Windows, il will probably be Window 1252 equivalent to ISO
no, these are not equivalent. windows 1252 is a superset of iso-8859-1.
I meant equivalent in the general meaning not quite identical.
if a text editor/cf is told or can guess the encoding it will read it
successfully.
This is the point. The text editor can be told by the file in which
in which format it is the file is in some proprietary format
... oops, I mean in which format the file is if it is in some proprietary
format...
~|
Order the Adobe Coldfusion Anthology now!
On 2/23/2011 10:42 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
will assume when it opens the file. There are no ways this can be decided by
the application which creates the file.
it can guess in the presence of a BOM it can guess fairly accurately.
in the presence of a BOM it can guess fairly accurately.
for editors which recognize BOMs, probably, but this suppose a Unicode aware
editor.
~|
Order the Adobe Coldfusion Anthology now!
On 2/24/2011 1:48 AM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
for editors which recognize BOMs, probably, but this suppose a Unicode aware
editor.
even notepad is unicode aware.
these days only Luddites refuse unicode as default.
I'm trying to save a text file that has foreign characters.
Here's my code:
cfset xOutput = République
cfheader
charset=utf-8
name=content-disposition
value=attachment; filename=test.txt
#xOutput#
When I open this file up it looks like this:
Râ©publique
How can I retain the proper
Are you supplying a content type too text/plain, text/html?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Do this
cfprocessingdirective pageencoding=utf-8
cfset xOutput = République
cfcontent type=text/html; utf-8
cfheader
charset=utf-8
name=content-disposition
value=attachment; filename=test.txt
cfoutput#xOutput#/cfoutput
On Tue, Feb 22, 2011 at 3:00 PM, Leigh cfsearch...@yahoo.com wrote
I tried this:
cfheader
charset=utf-8
name=content-disposition
value=attachment; filename=#xFileName#
cfcontent
type = text/html; charset=utf-8
reset=true
variable=#ToBinary( ToBase64(xOutput) )#
/
Still no foreign characters
Hi Alan, closer, but now I get R?publique. Any other ideas would be greatly
appreciated.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Should work fine with just a plain vanilla cfcontent / cfoutput
cfheader charset=utf-8 name=content-disposition /
cfcontent type=text/html /
cfoutput#xOutput#/cfoutput
~|
Order the Adobe Coldfusion Anthology
That odd, it totally worked for me...
http://alan.rotherfamily.net/demos/utf8/
cfprocessingdirective pageencoding=utf-8
cfset xOutput = République
cfcontent type=text/plain; utf-8
cfheader
charset=utf-8
name=content-disposition
value=attachment; filename=test.txt
cfoutput#xOutput#/cfoutput
No, I get this:
R?publique
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
That odd, it totally worked for me...
http://alan.rotherfamily.net/demos/utf8/
cfprocessingdirective pageencoding=utf-8
cfset xOutput = République
I get RÈpublique when I click your link. not République.
~|
Order the Adobe
What kind of computer (OS) are you on and what browser are you using? I just
want to Apples to Apples this... This should be really simple...
Oh and what program is the browser opening the text file in.
Leigh (as always) is right, this should just work
On Tue, Feb 22, 2011 at 5:07 PM, Richard
That's totally it. Apple Chrome, Safari and Firefox show RÈpublique when I
click your link. IE 8 and Firefox PC show République. It shows it this in both
Word 2011 and Text Edit on the Mac. Plain text endcoding is set to Automatic
for Plain Text in Text Edit and utf-8 for html documents.
FWIW: I get RÈpublique.
Mac OSX Leopard.
Chrome 9.0.597 (not that this should matter since it's a d.l. not an open in
the browser. Also checked FF 3.316 with same result.
On Tue, Feb 22, 2011 at 7:20 PM, Alan Rother alan.rot...@gmail.com wrote:
What kind of computer (OS) are you on and
TextEdit 1.6 shows RÃpublique
Word:MAC 2011 v14.02 shows: RÎpublique
On Tue, Feb 22, 2011 at 7:27 PM, Richard Steele r...@photoeye.com wrote:
That's totally it. Apple Chrome, Safari and Firefox show RÃpublique when I
click your link. IE 8 and Firefox PC show République. It shows it
Meant to say Firefox for the PC. Thanks again.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
I've been using the following code for years with no problems on
IE,FF,Safari to force the download of a CSV file that will be associated
with and opened by Excel:
cfheader name=Content-Disposition
value=attachment;filename=myExport.csv charset=utf-8
cfcontent type=application/vnd.Microsoft
with and opened by Excel:
cfheader name=Content-Disposition
value=attachment;filename=myExport.csv charset=utf-8
cfcontent type=application/vnd.Microsoft Excel Comma Seperated Values
File; charset=utf-8
However, this code in Chrome results in the actual template filename being
used without any
That works in every other browser (that I tested..) except Chrome. Chrome
just downloads the CFM template...
-Original Message-
From: Rick Root [mailto:rick.r...@gmail.com]
Sent: December-06-10 10:50 AM
To: cf-talk
Subject: Re: CFHEADER on Chrome to download an Excel CSV / Mime Type
We fixed it! Turned out to be a missing quote around the filename, this
works:
cfheader name=Content-Disposition
value=attachment;filename=#filename# charset=utf-8
Brook
-Original Message-
From: Rick Root [mailto:rick.r...@gmail.com]
Sent: December-06-10 10:50 AM
To: cf-talk
Subject
cfcookie does not
support httponly flag (CF9 does), I used cfheader to set the cookie in the
custom tag and here is what I found.
When you use the cfcookie tag to set the cookie, coldfusion populates the
cookie struct right away. But if you use cfheader instead to set the cookie, I
believe
I don't remember if you posted any code, but I get by this with the
following:
cfset Variables.contVal = inline;filename=#Variables.myFileName# /
cfheader value=#Variables.contVal# name=content-disposition
cfcontent type=#Variables.myType# reset=Yes
variable=#Variables.mySpreadsheetVar#
Before
On 11/8/2010 9:55 AM, Robert Gallagher wrote:
Using attachment forces the user to make a selection on a dialog
box and I wanted to bypass that dialog box and have the file open
every time.
You do not get to make that choice. It is *MY* computer and *MY*
browser and *I* get to say
Let me refine this a little more. IE6 (the company browser) treats inline
versus attachment slightly different as far as the Open/Save dialog
box is concerned. Attachment *FORCES* the user to always choose open or
save. Inline allows the user to permanently select Open for
example, but
I truly understand what you're saying but how these things work it not
consistent which is frustrating. What's really crazy is we have dozens of
Excel download links in our various apps like this example and some work
perfectly with value=inline but most have the undesirable behavior (code
cfheader name=Content-Disposition value=*inline*;filename=download.
xls /
Change inline to attachment so that the browser knows this is a
separate, attached file to view OR download AND NOT an inline part of
the currently viewed file: test.cfm.
Using attachment forces the user to make
Using attachment forces the user to make a selection on a dialog box and I
wanted to bypass that dialog box and have the file open every
time.
For obvious security reasons, you generally can't make things happen
on a client's machine from the web server. You can provide suggestions
to the
On 11/8/2010 9:55 AM, Robert Gallagher wrote:
Using attachment forces the user to make a selection on a dialog box and I
wanted to bypass that dialog box and have the file open every time.
You do not get to make that choice. It is *MY* computer and *MY*
browser and *I* get to say what
You don't get such a granular level of control in the web environment, only
in the desktop arena.
On Mon, Nov 8, 2010 at 12:55 PM, Robert Gallagher
robert.gallag...@honeywell.com wrote:
cfheader name=Content-Disposition value=*inline*;filename=download.
xls /
Change inline
I want to do simple download of a web page to Excel. I am using CF7, browser is
IE6SP2 and Excel 2007. The single standalone file is test.cfm. Here is the
code:
cfheader name=Content-Disposition value=inline;filename=download.xls /
cfcontent type=application/vnd.ms-excel / table
tr
cfheader name=Content-Disposition value=*inline*;filename=download.xls /
Change inline to attachment so that the browser knows this is a separate,
attached file to view OR download AND NOT an inline part of the currently
viewed file: test.cfm
.
So, after the query runs:
CFHEADER
NAME=content-disposition
value=attachment;
filename=#get.logo#
Looks correct so far...
But, let's say I selected a jpg. The dialog comes up (SAVE or OPEN),
I select SAVE, and when I try to open the file in Photoshop I get an
error Could
problems.
So, after the query runs:
CFHEADER
NAME=content-disposition
value=attachment;
filename=#get.logo#
Looks correct so far...
But, let's say I selected a jpg. The dialog comes up (SAVE or OPEN),
I select SAVE, and when I try to open the file in Photoshop I get an
error Could
cfheader name=Content-Disposition value=attachment;
filename=#YourFile.FileName#
cfcontent type=image/jpg file=#YourDirectory#\#YourFile.FileName#
On Mon, Oct 18, 2010 at 4:48 PM, Les Mizzell lesm...@bellsouth.net wrote:
I've got a section of a site where a user can access a number of logo
On 10/18/2010 7:53 PM, Michael Grant wrote:
cfheader name=Content-Disposition value=attachment;
filename=#YourFile.FileName#
cfcontent type=image/jpg file=#YourDirectory#\#YourFile.FileName#
I had that actually - not using the type though as there's a number of
different file types
:
cfheader name=Content-Disposition value=attachment; filename=test.
doc
cfcontent type=application/unknown file=c:\sites\test.doc
I've tried using inline instead of attachment, and being more specific
with the content type (i.e. application/msword) but nothing I'm doing
is helping this work
an example of the
cfcontent/cfheader example below. Does anyone know a work around for this
issue?
CFCONTENT TYPE=application/msexcel reset=yes
cfheader NAME=Content-Disposition VALUE=attachment;
filename=TimberlineRprt_#DateFormat(month,'mm_yy')#.csv
Thanks,
Asaf
Can one create post data with cfheader? If so, what might the syntax
look like?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk
CFHEADER amends the headers of the server response. Post data would be part
of client request instead.
For CF to make a client request you'd have to use CFHTTP type Post, and use
CFHTTPPARAM to send the post data, i.e. type=file.
On Thu, May 7, 2009 at 9:26 AM, Ian Skinner h...@ilsweb.com
I want to add the DATE to my file name in cfheader but it did not work.
Any suggestions
cfcontent type=application/msexcel
cfquery datasource=dsn
name=foobar
SELECT * FROM blasts
ORDER BY memberid
/cfquery
cfset TheDate = Now()
cfheader name=Content-Disposition
value=filename
Thanks all solved!
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
cfheader name=Content-Disposition
value=filename=ResolveIT_Listcfoutput#Now()#/cfoutput.xls
table
cfoutput query=foobar
tr
td#FirstName#/td
td#LastName#/td
td#Email#/td
td#Address1#/td
td#City#/td
td#State#/td
td#Zip#/td
/tr
/cfoutput
cfheader name=Content-Disposition
Hi,
I am using the following code to open / download text files
cfheader name=Content-Length value=FILEFIZE
cfheader name=Content-Type value=application/octet-stream
cfheader name=Content-Disposition value=attachment;filename=FILENAME
cfheader name=Content-Location value=#URLEncodedFormat
cfheader name=Content-Disposition
value=attachment;filename=FILENAME
Shouldn't be filename=#FILENAME# ?
Surprising it works with Firefox and IE 7.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send
:
cfheader name=Content-Disposition
value=attachment;filename='#fileName#'
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED
Duh! Thanks Ben. You know it's really Bobby's job to make me feel stupid :)
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 4:52 PM
To: CF-Talk
Subject: RE: cfheader filename problem
Try wrapping the filename in single quotes:
cfheader name
Hi,
I'm trying to download files with this:
cfheader name=Content-Disposition value=attachment;filename=#fileName#
cfcontent FILE=#file# TYPE=#MimeType#
Whenever the filename contains spaces, the What do you want to
do with this file prompt truncates the filename
Try wrapping the filename in single quotes:
cfheader name=Content-Disposition
value=attachment;filename='#fileName#'
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From
Dave,
I am not totally sure here but I think replacing it with %20 would be
the only way to keep it from truncating. I think the truncating is
happening on the browser side.
-Randy
Dave Francis wrote:
Hi,
I'm trying to download files with this:
cfheader name=Content
I've used the following:
cfset dExpiryDate = CreateODBCDateTime(DateAdd(d,1,Now()))
cfheader name=Set-Cookie value='CSUser=username=abe[EMAIL
PROTECTED];expires=#GetHttpTimeString(dExpiryDate)#; domain=.bla.org'
But when this cookie is read by ASPX .NET 2.0 the expires is:
1/1/0001 12
Instead of messing with HTTP headers, just append a random variable to
the image URL: img src=image.gif?638232 /
Jochem
Thanks! Works perfectly.
The developer I work with points out that sometimes you might want the image
cached unless it has been updated, and the solution to that is
). The file
uploads, but the browser is still caching; the refreshed page still shows the
old image file.
In order to prevent browser caching of image files, I've used
cfheader name=Expires value=#GetHttpTimeString(Now())#, and also added
cfheader name=Pragma value=no-cache
cfheader name=cache
refreshes). The file uploads, but the browser is still caching; the
refreshed page still shows the old image file.
In order to prevent browser caching of image files, I've used
cfheader name=Expires value=#GetHttpTimeString(Now())#, and also
added
cfheader name=Pragma value=no-cache
Christophe Maso wrote:
I'm having trouble getting IE not to cache image files on a particular page.
I have a page where image files can be uploaded and overwrite existing files
(similar to a Myspace type page that displays your picture; you can upload
another gif or jpg via form field,
On 5/2/07, Jochem van Dieten [EMAIL PROTECTED] wrote:
Instead of messing with HTTP headers, just append a random variable to
the image URL: img src=image.gif?638232 /
Jochem
Yup... Same thing you gotta do with XML content in IE
--
Casey
# /
meta http-equiv=imagetoolbar
content=#ARGUMENTS.contentHeadImageToolbar# /
cfheader name=cache-control value=no-cache, no-store,
must-revalidate /
cfheader name=cache-control value=post-check=0, pre-check=0 /
cfheader name=expires value=Mon, 26 Jul 1997 05:00:00 GMT /
cfheader name
Is there a reason to set http-equiv meta tags when you are setting the
actual headers already?
On 1/11/07, Mark Leder [EMAIL PROTECTED] wrote:
I don't know if its just me or the code I've used for a while, but seems
like since the first of this year (or thereabouts) IE (6 or 7) seems to
ignore
Don't know. If they are of equal value I suppose one or more should be
deleted. But which one(s)?
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 10, 2007 5:43 PM
To: CF-Talk
Subject: Re: CFHeader No Cache Sanity Check
Is there a reason to set
, 2007 5:43 PM
To: CF-Talk
Subject: Re: CFHeader No Cache Sanity Check
Is there a reason to set http-equiv meta tags when you are setting the
actual headers already?
~|
Create robust enterprise, web RIAs.
Upgrade
Is there a reason to set http-equiv meta tags when you are
setting the actual headers already?
Yes. Some (arguably broken) proxies may disregard HTTP response headers.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
How To Raise a File Download Dialog Box for a Known MIME Type
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260519
cfheader name=Content-Type value=application/powerpoint
cfheader name=Content-Disposition value=attachment; filename=test.ppt
Try that.
I've got a .mht (multipart html
a cfcontent and
cfheader to the top of the page to try to get it to force the filename to go
back to the browser as a ppt so they can save it or open it. The code works
fine on MX 6.1 but I can't get it to work on CF5. Anyone have any gotchas or
reasons why I can't do it?
Snippet:
cfheader name
1 - 100 of 279 matches
Mail list logo