Would this help?

<cfif cgi.SERVER_PORT NEQ "443">
  <cfset redir = 'Https://' & HTTP_HOST & PATH_INFO>
  <cflocation url="#redir#" addtoken="No">
</cfif>

> Hi again - how do I force hte use of HTTPS pages ? I can force the flow of
> pages with <cflocation> tags, but I want to stop a user just typing in the
> URL as HTTP ? Thanks
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:185278
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

Reply via email to