Before I go off in the wrong direction on this, I figured I'd see what
others are doing...  I'm building a couple of simple secure (https) pages on
my site using the shared certificate provided by the hosting service
(Crystal Tech).  The URL that they provide point back to the same root that
the rest of the website uses.  I haven't had to do much in the past with
https pages, and what I have done was the result of a lot of fumbling
around.

My pages all use a couple of common INCLUDE files for the top and left nav
areas, and onrequestend.cfm for the bottom nav area, which include
references to images and (obviously) other pages on the site.  

When I render the pages that are being called via https, I need for all
external references on that page to be https, right?  Otherwise the user
will get warnings from the browser about mixed pages.  What I'm thinking of
doing is having the application.cfm look at the current url to see if it
begins with "http" or "https" and then save that in a variable, and change
all of the references in the INLCUDE files to use that reference.

The kicker is that I don't want to have to use full
"http://www.mysite.com/page.cfm" or <img
src="" references to the rest of the site,
because that makes it a royal pain when I want to copy the files to/from a
testing area, because they would have those hard coded references to the
production site in them.  

What about references to external pages that reside on other sites?  Can I
do that from a page that was called via https?  I don't think I can use a
link like "https://www.weather.com" on my https page!  Does that mean that
all references from my page have to remain within my site?  

All advice and hints appreciated!
Thanks,
reed
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to