REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Cliff Meyers
Subject: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE
From: Dave Watts [EMAIL PROTECTED]
Date: Sun, 12 Dec 2004 19:48:18 -0500
Thread:
http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=37080forumid=4#187302

 Perhaps there's a problem with the Content-Disposition header. You might
 want to try inline instead of attachment.

Dave,


Thanks for the recommendation.  Unfortunately I've tried that and it
doesn't work either.  I tried varying the type in CFCONTENT as well and
continued to get the same result over and over.  It's maddening... this
behavior only slows up when you mix Windows IE, SSL and IIS.  For cripe's
sake, it works on the *Mac* flawlessly!

Can anyone recommend a good tool (either standalone or plugin for IE) that
will allow me to see the HTTP response headers for a particular request? 
That way I could at least compare the headers generated for a regular
file download and then tweak my CFHEADER statement(s) to match.  Thanks a
bunch.


-Cliff

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187342
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Chris Norloff
ieHTTPheaders
http://www.blunck.info/iehttpheaders.html

I haven't tried it myself, but it's supposed to do what you want.

Here's one for Mozilla, in case you're interested:
http://livehttpheaders.mozdev.org/
I had to re-install Mozilla after using it.

Chris Norloff

-- Original Message --
From: Cliff Meyers [EMAIL PROTECTED]

Can anyone recommend a good tool (either standalone or plugin for IE) that
will allow me to see the HTTP response headers for a particular request? 
That way I could at least compare the headers generated for a regular
file download and then tweak my CFHEADER statement(s) to match.  Thanks a
bunch.


-Cliff



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187344
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Ben Rogers
 Can anyone recommend a good tool (either standalone or plugin for IE) that
 will allow me to see the HTTP response headers for a particular request?
 That way I could at least compare the headers generated for a regular
 file download and then tweak my CFHEADER statement(s) to match.  Thanks a
 bunch.

Try Fiddler.

  http://www.fiddlertool.com

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187346
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Cliff Meyers
Hey guys,


I posted this on Friday, didn't get a response.  Figured I'd try it again.


I have a simple text file that I want to force-download for users of a web
application.  I've set up the following code:

cfheader
  name=Content-Disposition
  value=attachment; filename=#filename#

cfcontent
  type=text/plain
  file=#filepath#
  deletefile=no

When I run the code in IE, I get the File Download dialog box as you'd
expect.  When I either try to open or save the file, I get this error
message:

Internet Explorer cannot download act_download_key.cfm from www.anyhost.com.

Internet Explorer was not able to open this internet site... blah blah

This site is being served over HTTPS.  When I adjust the IIS configuration
to allow requests over HTTP, the code magically works without issues.
Furthermore Firefox can open/save the file without problems over either
HTTP or HTTPS.  I'm assuming this is some idiosyncrasy with IE when using
CFCONTENT/CFHEADER over an SSL site.  Thanks for your help.


-Cliff Meyers

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187295
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-12 Thread Dave Watts
 I have a simple text file that I want to force-download for 
 users of a web application.  I've set up the following code:
 
 cfheader
   name=Content-Disposition
   value=attachment; filename=#filename#
 
 cfcontent
   type=text/plain
   file=#filepath#
   deletefile=no
 
 When I run the code in IE, I get the File Download dialog 
 box as you'd expect.  When I either try to open or save the 
 file, I get this error
 message:
 
 Internet Explorer cannot download act_download_key.cfm from 
 www.anyhost.com.
 
 Internet Explorer was not able to open this internet site... 
 blah blah
 
 This site is being served over HTTPS.  When I adjust the IIS 
 configuration to allow requests over HTTP, the code magically 
 works without issues.
 Furthermore Firefox can open/save the file without problems 
 over either HTTP or HTTPS.  I'm assuming this is some 
 idiosyncrasy with IE when using CFCONTENT/CFHEADER over an 
 SSL site.  Thanks for your help.

Perhaps there's a problem with the Content-Disposition header. You might
want to try inline instead of attachment.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187302
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54