Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem with shared SSL cerificate


Recommended Posts


Im sharing a certificate at my webbhotel and i got this code from them:



define('HTTP_SERVER', 'http://www.flamingoshop.se'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://zeus.oderland.com/~flamopse'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.flamingoshop.se');

define('HTTPS_COOKIE_DOMAIN', 'www.flamingoshop');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');


The problem is that im losing everything in the basket whjen going to checkout. It also seems to having problem to keep track if your logged on or not. I think that it have somthing to do with the cookiesettings.


Anyone knows what to change in the code?


Have a nice evening!

Link to comment
Share on other sites


Thanks for the reply. Now I have changed to the code below but I still have the same problem. The pages protected by the ssl cant find the cooike that are set in the no https pages. The shopping is done on pages not protected by ssl and there the coocie is populated. When i go to the checkout prosidure the pages from in https cant find the cookie.


Am i right?


Well here is the code im using now. Any more suggestions?


define('HTTP_SERVER', 'http://www.flamingoshop.se');

define('HTTPS_SERVER', 'https://zeus.oderland.com/~flamopse');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.flamingoshop.se');

define('HTTPS_COOKIE_DOMAIN', 'zeus.oderland.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/~flamopse/');



Have an nice day

Link to comment
Share on other sites

That made it work! Thanks.


But now the: osCsid=fd9e4cf8b0692da1b2651ea681f02a41


is displayed in the URL


I remembered I read some backsides of that. Anyone remember?


One last question: If I get my own certificate - will I be able set "Forece cookies" to true.


Guys - thanks for al the help!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...