I found the problem... It had to deal with IE8 only. IE 8 can't receive caching
headers when dealing with cgi.content_type = application/x-amf. Everything I
found on the web stated that it dealt with the pragma caching value only but
removing that didn't work. I then decided to check if it was application/x-amf
and I coded a cfif that wouldn't send any of the caching headers. That fixed it.
Original code:
<cfset gmt = gettimezoneinfo() />
<cfset gmt = gmt.utchouroffset />
<cfif not gmt>
<cfset gmt = "" />
<cfelseif gmt>
<cfset gmt = "+" & gmt >
</cfif>
</cfsilent>
<cfheader name="Pragma" value="no-cache" />
<cfheader name="Cache-Control" value="no-cache, must-revalidate" />
<cfheader name="Expires" value="Mon, 26 Jul 1997 05:00:00 GMT" />
<cfheader name="Last-Modified" value="#DateFormat(now(), 'ddd, dd mmm yyyy')#
#TimeFormat(now(), 'HH:mm:ss')# GMT#gmt#" />
New Code:
<cfset gmt = gettimezoneinfo() />
<cfset gmt = gmt.utchouroffset />
<cfif not gmt>
<cfset gmt = "" />
<cfelseif gmt>
<cfset gmt = "+" & gmt >
</cfif>
</cfsilent>
<cfif cgi.content_type neq "application/x-amf">
<cfheader name="Pragma" value="no-cache" />
<cfheader name="Cache-Control" value="no-cache, must-revalidate" />
<cfheader name="Expires" value="Mon, 26 Jul 1997 05:00:00 GMT" />
</cfif>
<cfheader name="Last-Modified" value="#DateFormat(now(), 'ddd, dd mmm yyyy')#
#TimeFormat(now(), 'HH:mm:ss')# GMT#gmt#" />
Thanks for the suggestion though I wouldn't have thought of checking the net
tab in firebug.
Steve
-----Original Message-----
From: J.J. Merrick [mailto:[email protected]]
Sent: Wednesday, January 25, 2012 1:32 PM
To: cf-talk
Subject: Re: ColdFusion 8, FlashForms and SSL dilemma
Steven,
Have you run Firebug to see what calls are being made from the flash
form? It could be trying to hit something that is non-SSL. The NET tab
should give you some indication. That is where I would start and then
work my way up.
-J.J.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:349626
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm