This is a discussion on SSL Prblem between two servers - dropped cart within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, I am having a problem with sessions being dropped when I go from my non-secure to secure server. Basically, ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I am having a problem with sessions being dropped when I go from my non-secure to secure server. Basically, what happens is that I go to the store..(non-secure) and add products....they show up fine in the cart. But when I go to checkout they disappear (cart is emty). My non-secure store is on 1 machine...while the SSL is on a totally differet machine. For lack of knowing EXACTLY what files need to be placed in the secure directory, I placed all CATALOG files, IMAGES dir, and INCLUDES dir in my secure directory. In my configure.php (non-secure dir) I have the following: 'HTTPS_SERVER' - The URL of my secure dir 'ENABLE_SSL', true 'HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); 'HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); 'HTTP_COOKIE_PATH', '/catalog/'); 'HTTPS_COOKIE_PATH', '/catalog/'); 'DIR_WS_HTTP_CATALOG', '/catalog/'); 'DIR_WS_HTTPS_CATALOG', '/catalog/'); 'USE_PCONNECT', 'true'); // use persistent connections? 'STORE_SESSIONS', ''); // These are also the same in my configure.php in my secure directory as well. In the admin I have: Session Directory /sessiontempfiles Force Cookie Use False Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions True Recreate Session False I can actually see session files in /sessiontempfiles Can you think of anything that I could be doing wrong? I think I have checked everything....could something not be turned on in apache or mysql? Thanks for any help. |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| This is still a problem for me....any ideas? I am desperate! |
|
#3
| ||||
| ||||
| You can't store session in files - as these "files" are only on ONE server. Change to storing session in MYSQL. define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dropped transactions? | Learners_permit | osCMax v1.7 Discussion | 0 | 09-15-2006 04:07 AM |
| Switching Servers - Need Help pointing to database server | markymrk22 | osCommerce 2.2 Modification Help | 0 | 01-11-2006 04:15 PM |
| Switching hosting servers | afmastro | osCommerce 2.2 Installation Help | 1 | 11-30-2004 07:45 AM |
| Moving between Servers | auxone | osCommerce 2.2 Installation Help | 2 | 10-31-2004 12:18 PM |