edesigners64 Posted December 6, 2004 Posted December 6, 2004 Here is my config.php: define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ssl.remotehost.com/~mydirectory'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'ssl.remotehost.com/~mydirectory'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); 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/'); I've tried several things for 'HTTPS_COOKIE_DOMAIN'... ssl.remotehost.com, ssl.remotehost.com/~mydirectory, mydomain.com No dice. Cart is always empty when hitting the ssl. Any suggestions? Thanks in advance -
edesigners64 Posted December 7, 2004 Author Posted December 7, 2004 define('HTTPS_COOKIE_DOMAIN', ''); Vger <{POST_SNAPBACK}> Hi Vger - Thanks for the prompt reply. Very much appreciated. I tried the suggested change (on both the normal & ssl servers) but am still experiencing the same problem - an empty cart when shifting to the ssl server. Please let me know if you think of anything else. Cheers -
♥Vger Posted December 7, 2004 Posted December 7, 2004 define('HTTPS_COOKIE_PATH', ''); It should work with those settings. Vger
edesigners64 Posted December 7, 2004 Author Posted December 7, 2004 define('HTTPS_COOKIE_PATH', ''); It should work with those settings. Vger <{POST_SNAPBACK}> Hello again - I'm sure that I made the change you indicated correctly, but am still losing the cookie. I also left this out in my first post: define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
edesigners64 Posted December 8, 2004 Author Posted December 8, 2004 OK - here's what needed to be done... I did change to: define('HTTPS_COOKIE_DOMAIN', ''); but was still having problems and losing the cookie when transferring to the ssl server. I ended up setting: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' and it started working immediately. Thanks for your help! Eric
Recommended Posts
Archived
This topic is now archived and is closed to further replies.