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.




LinkBack URL
About LinkBacks








Bookmarks