I probably took the non -slick route - but easiest for me...
In an application .cfm I simply set a param..

<cfparam name="pageSecure" default="">
on any actual secure page - I simply set it only if it is secure.
<cfset PageSecure = "Yes">

then in my header file which is on every page obviously - I do a quick
check.
<cfif pageSecure EQ "yes">
<cfset httpPath= "https://www."; <https://www.> >
<cfelse>
<cfset httpPath= "http://www."; <http://www.> >
</cfif>

refer to images as - 
<cfoutput>#httpPath#</cfoutput>speedpeople.com/

Hassle is if your using like a dreamweaver or something to edit- you
can't see your images.. but it was for a simple coldfusion program a
simple solution.

may spark another idea for you.
jay

Christian Cantrell wrote:


You can use Apache rewrite rules, or even a little JavaScript or CF to  

check the protocol at the top of the page and redirect if it isn't  

right.  The most straightforward way, however, is to use an absolute  

URL which includes the protocol.



Christian



On Monday, March 10, 2003, at 01:59 PM, Issac Rosa wrote:



  

What's the best way to setup the page links so that when you go to a  

secure page via https and then go to a non-secure page the links use  

http?  Do I need to hard code the full url?



Thanks,

Issac



    


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to