Jump to content

Help with closing SSL


Riparian

Recommended Posts

Scenario :

 

I have Comodo SSL setup and working on the site.

I can force an single page to use ssl rather than the whole site

 

Problem:

Once the ssl page is loaded all other pages from that point onward are using the SSL.

 

I need it for one page only because (and dont let them tell you otherwise) it really slows the site down

 

How can I force the other pages back to http:// ?

 

Any  Help is really appreciated !

 

Cheers

Link to comment
Share on other sites

As mentioned in the question, forcing the use of ssl is not the problem (a  solution is easy to find on a search engine) .

 

The problem is that all subsequent pages will use ssl because of the use of relative addresses.

 

I'm thinking an IF statement at the top of each page that you DON'T want to be using the ssl certificate would work.  i can't remember which server variable gives you the parent document but just check that for http or https.  if it's https, use header to redirect them to the same page only without the 's'.  i do the same kinda deal to force "www" for session variable consistency.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.