What am I missing here?
I have 128 bit encryption on my server.
I would like to display a frindly instruction page for users who need to upgrade thier encryption in order to use my system.
I found the following code in an old post on the Macromedia forums:
<cfif (cgi.https_keysize GTE 128)>
<cfoutput>
browser is good
Https= #cgi.https#<br>
Keysize = #cgi.https_keysize#<br>
Secret KeySize = #cgi.https_secretkeysize#<br>
HTTP_USER_AGENT = #HTTP_USER_AGENT#<br>
</cfoutput>
<cfelse>
<cfoutput>
Prompt to download the updated encryption patch
Https= #cgi.https#<br>
Keysize = #cgi.https_keysize#<br>
Secret KeySize = #cgi.https_secretkeysize#<br>
HTTP_USER_AGENT = #HTTP_USER_AGENT#<br>
</cfoutput>
<cfabort>
</cfif>
The problem is if I put the detection page outside of the https site, it throws the error on a browser that does have 128 bit encryption because https is off.
If I put it inside the https site, the browser that has less than 128 gets a page cannot be displayed error because it cannot handle 128 bit encryption........
Can anybody help?
Kristine
I have 128 bit encryption on my server.
I would like to display a frindly instruction page for users who need to upgrade thier encryption in order to use my system.
I found the following code in an old post on the Macromedia forums:
<cfif (cgi.https_keysize GTE 128)>
<cfoutput>
browser is good
Https= #cgi.https#<br>
Keysize = #cgi.https_keysize#<br>
Secret KeySize = #cgi.https_secretkeysize#<br>
HTTP_USER_AGENT = #HTTP_USER_AGENT#<br>
</cfoutput>
<cfelse>
<cfoutput>
Prompt to download the updated encryption patch
Https= #cgi.https#<br>
Keysize = #cgi.https_keysize#<br>
Secret KeySize = #cgi.https_secretkeysize#<br>
HTTP_USER_AGENT = #HTTP_USER_AGENT#<br>
</cfoutput>
<cfabort>
</cfif>
The problem is if I put the detection page outside of the https site, it throws the error on a browser that does have 128 bit encryption because https is off.
If I put it inside the https site, the browser that has less than 128 gets a page cannot be displayed error because it cannot handle 128 bit encryption........
Can anybody help?
Kristine