This is a discussion on Shared SSL - Lost Sessions within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; store is using a shared SSL certificate config contents as follows: Problem is that the session is lost as soon ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| store is using a shared SSL certificate config contents as follows: Problem is that the session is lost as soon as it switches to Secure Mode, Any ideas? Code: define('HTTP_SERVER', 'http://www.nonsecureurl.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.secureurl.com/~stud'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'nonsecureurl.com');
define('HTTPS_COOKIE_DOMAIN', 'secureurl.com/~stud');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_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/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/stud/public_html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
|
|
#2
| ||||
| ||||
| This is incorrect: Code: define('HTTPS_COOKIE_DOMAIN', 'secureurl.com/~stud');
Code: define('HTTPS_COOKIE_DOMAIN', 'secureurl.com');
__________________ Michael Sasek osCMax Developer
|
|
#3
| ||||
| ||||
| GAHHHHH .... ok newby mistake, thanks for pointing it out michael..... |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shared SSL question | hayesb2 | osCMax v1.7 Discussion | 2 | 09-05-2005 07:59 AM |
| shared SSL Help Please! | lil-raskals | osCommerce 2.2 Modification Help | 2 | 09-30-2004 09:30 PM |
| problem with shared SSL and sessions | eddman | osCommerce 2.2 Modification Help | 3 | 08-25-2004 05:24 AM |
| shared ssl setup | thesauce98 | osCMax v1.7 Discussion | 2 | 03-10-2004 09:08 AM |
| Shared SSL Help | Anonymous | osCommerce 2.2 Installation Help | 13 | 03-20-2003 01:42 AM |