osCmax v2.5 User Manual
Results 1 to 6 of 6

shopping cart is cleared after I log in

This is a discussion on shopping cart is cleared after I log in within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I make selections then go to cart and am asked to log in - I log in and my cart ...

      
  1. #1
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default shopping cart is cleared after I log in

    I make selections then go to cart and am asked to log in - I log in and my cart has been emptied - I am using 1.55 - why does this happen?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Your session is not carrying over to SSL most likely. Fix your sessions settings in the admin.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default

    what should they be? I am running it on my local linux box which doesn't have ssl I assume, what should me settings be?

  4. #4
    Anonymous
    Guest


    Default

    I am also experiencing problems with the shopping cart. The cart shows differing contents on the non-secure and the secure server, and I lose the cart contents when logging in (jumping to secure server). Is this most likely something that can be fixed in the admin and/or configure.php file? Or could it be a setting on my server?

    My current admin settings:
    Session Directory: /tmp
    Force Cookie Use: True
    Check SSL Session ID: False
    Check User Agent: False
    Check IP Address: False
    Prevent Spider Sessions: True
    Recreate Session: True

  5. #5
    Anonymous
    Guest


    Default

    Ok, I set the "Force Cookie Use" to False and that seems to have fixed it.

    Can anyone explain (briefly) why this fixes the problem?

    Thanks.

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


    Default

    Session have to match on BOTH the client and the server. If your SSL on the server is on a physical server then the session "file" does not exist as it was created/maitained on the non-ssl server. Same for a LOCAL session ID when used in URL - it is kept with the URL - if your URL changes when you change to SSL - you could losse the SID. Storing Session in MYSQL on the server side if you have a "shaired" SSL is general required. Cookies for clients computer is better looking and will go no mater what URL you end up. NOTE the ONLY thing the cookies store is the Name (of site?), SID number, and the main site URL and not much else. No other site can really use this information anyway.
    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. Shopping cart
    By decoster in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-05-2006, 08:12 AM
  2. Which shopping cart should I use? Please help.
    By earth-friendly in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 07-16-2006, 12:36 PM
  3. shopping cart issue
    By martinR in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-25-2005, 10:09 AM
  4. Shopping cart problem
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-08-2003, 10:55 AM
  5. have shopping cart on a schedule
    By lopeel in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-07-2003, 09:28 AM

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
  •