i'm trying to find a way to determine whether the current
browser is runing over secure or not. I can't find anything that
will detect the first part of the URL:
http:// or https://
but I can find everything after that!
I'm wondering if it's possible to interrogate IIS port number
to see if the page is OR isn't running over port 80.
try <cfoutput>#cgi.server_port# and
#cgi.server_port_secure#</cfoutput> I only run http and
always/only see 80 and 0. I'd hope they'd change to 443 and 1 when
https but have no way to test. Also CGI.HTTP_Referer begins with
http but that's only where they started not what they clicked,
might be a help though once in to https mode. You might also want
to <cfdump var="#cgi#>. I think I recall there are other
cgi's that cf doesn't display at the bottom when debug is turned