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:
- Original Message -
From: Issac Rosa [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 11:59 AM
Subject: Changing from HTTPS to HTTP for normal pages
What's the best way to setup the page links so that when you go to a secure
page
via https and then go
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,
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
4 matches
Mail list logo