Question
Redirection Code for SSL
My web host where my site is hosted offer a SSL service.
Basically to use SSL I have to acees my pages through the following URL
https://www1165.ssldomain.com/mydomain
this points to the root of my web site.
theres a couple of pages on the root where users login that i want to
protect with SSL.
I need to write a script to prevent users from accessing
www.mydomain.com/login.cfm and directs them to
https://www1165.ssldomain.com/mydomain/login.cfm
What is the best way to do this? Im assuming Ive got to put in the
application page dont I?
Any code examples would be great as I have a few pages i need to protect so
I guess I have to do multiple if statements. Thanks in advance!
Basically to use SSL I have to acees my pages through the following URL
https://www1165.ssldomain.com/mydomain
this points to the root of my web site.
theres a couple of pages on the root where users login that i want to
protect with SSL.
I need to write a script to prevent users from accessing
www.mydomain.com/login.cfm and directs them to
https://www1165.ssldomain.com/mydomain/login.cfm
What is the best way to do this? Im assuming Ive got to put in the
application page dont I?
Any code examples would be great as I have a few pages i need to protect so
I guess I have to do multiple if statements. Thanks in advance!
