>- see footer for list info -<
The variable you probably want is CGI.HTTPS.
The values it contains depends on the server - to indicate false, Apache
uses [blank] and IIS uses "off".

So, in your members/index.cfm you could do:
<cfif Len(CGI.HTTPS) AND CGI.HTTPS NEQ "off">

And then do a cflocation...
<cflocation url="https:#Request.CurrentPage#"/>

Where CurrentPage would be along the lines of:
<cfset Request.CurrentPage = "//" & CGI.HTTP_HOST & CGI.CONTEXT_PATH &
CGI.SCRIPT_NAME & CGI.PATH_INFO"/>
(possible with CGI.QUERY_STRING added on the end also)


I hope that's answered your question without confusing you further. :)


On 3/13/07, Shawn Fawcett <[EMAIL PROTECTED]> wrote:

>- see footer for list info -<
Hi all,

I have a members zone where I would like always
to be secured with hhtps. I already have a ssl
certificate set up to the site and am wondering how to go about it.
I have an index.cfm in a members folder. I
imagine in the index I would do something like
cfif NEQ "https" replace ...but not quite sure where to start with the
syntax.

any help would be more than welcome.

Shawn




ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<




--
\ \
Peter Boughton
blog.bpsite.net
/ /
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to