hi there.

check to see if the variable "cgi.CERT_SECRETKEYSIZE"
is defined, if it is....the person is viewing your site over and https
connection, if its not, redirect them to the secure url, https://

<cfif isDefined("cgi.CERT_SECRETKEYSIZE") and
IsNumeric(#cgi.CERT_SECRETKEYSIZE#)>

<cfelse>
        <cflocation url="https://www.mySecureurl.com>
</cfif>

hth

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 


-----Original Message-----
From: Mak Wing Lok [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, September 22, 2002 10:46 PM
To: CF-Talk
Subject: forced user to access https page


how can i force my users to access HTTPS pages on my CF application even
they type HTTP at the URL address on the browser?
example if user type http://www.myapp.com i want to redirect them to
https://www.myapp.com
taht including all the CF pages they access, should i do something on
the
apache server setting or should i put some coding on the CF pages??




______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to