Re: cfheader/cfheader not working as expected

2010-11-09 Thread Robert Gallagher

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 name 
and read-only) which actually still works.  

Why "inline" provides the dialog box option of remembering the download 
decision but using "attachment" does not give that option (at least in IE) is 
very inconsistent but not surprising.  Since this is not earth shattering I 
will chalk this up to browser inconsistency and move on.  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfheader/cfheader not working as expected

2010-11-09 Thread Robert Gallagher

>   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 happens to any content you choose to 
> send me.
> 
> 
> 
> 
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 then opens 
it with the wrong name and Read-Only.  That last part is the irritating part.  
If IE handled it like Firefox then this discussion would be moot. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338990
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Downloading Excel and bypassing Open/Save dialog box

2010-11-08 Thread Robert Gallagher

I want to download a web page to Excel and bypass the Open/Save dialog box 
(e.g. don't use value=attachment in the  tag. I am using CF7, browser 
is IE6SP2 and Excel 2007.  The single standalone file is test.cfm.  

Here is the code: 
 
 
   
 
Hello 1 
Column 2 
Column 3   
 


Excel opens as expected but the filename in Excel is "test.cfm" rather than 
"download.xls" and is opened in [Read-Only] mode.  Any ideas? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfheader/cfheader not working as expected

2010-11-08 Thread Robert Gallagher

> 
> 
> 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 a selection on a dialog box and I 
wanted to bypass that dialog box and have the file open every time. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338954
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfheader/cfheader not working as expected

2010-11-05 Thread Robert Gallagher

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:

 
 
  
Hello 1
Column 2
Column 3
  


Excel open as expected but the filename in Excel is "test.cfm" rather than 
"download.xls" and is opened in [Read-Only] mode.  Any ideas?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338877
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm