Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Shopping cart empties when going into SSL


Recommended Posts



Hope you can help me with this one.


When I choose a product to buy, it quite rightly goes into my shopping cart. But when I go to the checkout and transfer to my secure area the shopping cart is empty.


1 - If I go back out of the secure area my item appears back in.

2- If I buy another Item in the secure area it stays there and I can go through and buy.


It seems as if I have two shopping carts. One for secure and one for non-secure.





Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.mydomain.co.uk');

define('HTTPS_SERVER', 'https://www.secureserver3.co.uk/ssl/www.mydomain.co.uk');

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

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');


This is my configure.php in my included folder above. Doesn't seem any reason why I'm getting my problem.


www.secureserver3.co.uk is my third party ssl server hosted by my SP


Any other suggestions.

Link to comment
Share on other sites

I got rid of this problem by turning off cookies.

In the Admin page, go to Configuration->Sessions


My settings read:

Session Directory temp

Force Cookie Use False

Check SSL Session ID False

Check User Agent False

Check IP Address True

Prevent Spider Sessions True

Recreate Session False


This is not what I really want, but hey, it works.

Link to comment
Share on other sites

Set your cookie domains like this:



define('HTTP_COOKIE_DOMAIN', 'www.mydomain.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'www.secureserver3.co.uk/ssl/www.mydomain.co.uk');

while (!succeed) {try()};


GMT -6:00

Link to comment
Share on other sites


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

  • Create New...