osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

SSL Prblem between two servers - dropped cart

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, ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-18-2003, 11:08 AM
Lurker
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sgtpepper
Default SSL Prblem between two servers - dropped cart

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-19-2003, 08:13 AM
Lurker
 
Join Date: Dec 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sgtpepper
Default

This is still a problem for me....any ideas? I am desperate!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-23-2003, 07:47 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 10:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax