Results 1 to 3 of 3

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

      
  1. #1
    Lurker
    Join Date
    Dec 2003
    Posts
    2
    Rep Power
    0


    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.

  2. #2
    Lurker
    Join Date
    Dec 2003
    Posts
    2
    Rep Power
    0


    Default

    This is still a problem for me....any ideas? I am desperate!

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    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 - To contact, post on the forum or click here
    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!

Similar Threads

  1. Dropped transactions?
    By Learners_permit in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-15-2006, 04:07 AM
  2. Switching Servers - Need Help pointing to database server
    By markymrk22 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-11-2006, 04:15 PM
  3. Switching hosting servers
    By afmastro in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-30-2004, 07:45 AM
  4. Moving between Servers
    By auxone in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 10-31-2004, 12:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •