Copy link to clipboard
Copied
I want to purchase a SSL certificate and have it installed for my site and use ssl on certain pages. I can not find out how to invoke https for the page.
Is it as easy as serving the pages out of a subdirectory called "secure" ? I do not really need the page secure but I want to get some experience so that we can tell customers that we can do ssl.
Jim
Copy link to clipboard
Copied
Once you have your SSL certificate installed on your site, to invoke it you simply need to have the user execute a link that starts with https:
For example, in a shopping cart site the ideal place to do this is when the user goes to check out. Just make sure that all links in your site to check out are absolute links - like this: https://wwwYourSite.com/checkout.phh - or cfm or..
If you want to be absolutely sure that a user landing on a particular page is under SSL - you can place some code in the head of the document that checks the URL the user is coming in on and if it's not "https: something" do a redirect that will loop them back to the same page only using the https instead of http - this will make sure that if someone shares the url to this page, or folder and omits the https, it will still be used and invoke the SSL.
Hope this helps.
--
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
www.twitter.com/LawrenceCramer