Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cookie paths and shared ssl


justinswa

Recommended Posts

Is anybody using milestone 2.2 with a shared secure server and getting cookies to work properly? (using the "force cookies" option set to "true" in admin) If so could you tell me what you have in your config file for

define('HTTP_COOKIE_DOMAIN', '');

 define('HTTPS_COOKIE_DOMAIN', '');

 define('HTTP_COOKIE_PATH', '');

 define('HTTPS_COOKIE_PATH', '');

?

 

I call my site with

www.mysite.com
and I call my site through the secure server by calling
.

I have tried loads of different things for the cookie domain and paths and haven't got anything to work. Either I end up with cookies not working at all and I get the page telling me to turn cookies on in my browser or the cookies work properly but there are seperate cookies for the secure and the non-secure server - This means that I can add stuff to my basket and it's remembered in the cookie but when I go through the secure server to checkout osc doesn't use the same cookie and my basket is empty.

 

Any help much appreciated,

 

Thanks,

 

Justin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...