Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How to Invoke SSL on select pages

Explorer ,
Jul 17, 2009 Jul 17, 2009

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

TOPICS
Server side applications

Views

694
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 20, 2009 Jul 20, 2009

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines