Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

SSL is playing silly buggers with the shoping cart


Recommended Posts

Hey guys, im having a hard time setting up this shopping cart for a client of mine but it seems that every time some one goes to log in and the page becomes secure the session does not get transfered to the SSL part of the site so the shoping cart will end up being empty every time you try to log in


take a look www.roxmusicbrighton.co.uk/shop


i really cant figure this out my hosting provider is telling me it is some thing to do with the configuration.php file


that file is as follows

  define('HTTP_SERVER', 'http://roxmusicbrighton.co.uk');
 define('HTTPS_SERVER', 'https://web107.secure-secure.co.uk/roxmusicbrighton.co.uk');
 define('ENABLE_SSL', 'true');
 define('HTTP_COOKIE_DOMAIN', 'roxmusicbrighton.co.uk');
 define('HTTPS_COOKIE_DOMAIN', 'roxmusicbrighton.co.uk');
 define('HTTP_COOKIE_PATH', '/shop/');
 define('HTTPS_COOKIE_PATH', '/shop/');


i really need to get this fixed, please let me know what you think..



Daniel Mercer

Link to comment
Share on other sites

incorrect cookies setting for SSL protocl as it should be:


define('HTTPS_COOKIE_DOMAIN', '.secure-secure.co.uk');


if you ask why, cause:

define('HTTPS_SERVER', 'https://web107.secure-secure.co.uk/roxmusicbrighton.co.uk');

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites


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

  • Create New...