Guest Posted December 17, 2008 Share Posted December 17, 2008 Hello, I have built many oscommerce stores but this one particular server is giving me problems with SOME customers being caught in a loop at checkout. They login and then cannot checkout becuase they are suddenly logged out or the session has been lost I presume. Below is my config file, I have just changed it to this in the hope this is the correct way to do things. If someone with knowledge could point out any errors that would be great Kind Regards define('HTTP_SERVER', 'http://www.domain.com'); define('HTTPS_SERVER', 'https://www.domain.com'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.domain.com'); define('HTTPS_COOKIE_DOMAIN', '.domain.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2008 Share Posted December 17, 2008 Just to add to this, before I had it like below, do you think that was what was causing it? define('HTTP_SERVER', 'http://www.domain.com/'); define('HTTPS_SERVER', 'https://www.domain.com/'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.domain.com'); define('HTTPS_COOKIE_DOMAIN', '.domain.com'); define('HTTP_COOKIE_PATH', 'catalog/'); define('HTTPS_COOKIE_PATH', 'catalog/'); define('DIR_WS_HTTP_CATALOG', 'catalog/'); define('DIR_WS_HTTPS_CATALOG', 'catalog/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.