Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart displays what others have added


Conquest

Recommended Posts

Posted

We have a really strang thing going on with a shopping cart. We built a shopping cart for a client and when testing the checkout it seems to keep track of everyone as one person (guest). Meaning if you put something in the cart and someone else enters the site and puts something in the cart they see what the other person put in. It will even show their name and address. Has anyone ever experienced this?

 

Thanks

Posted
We have a really strang thing going on with a shopping cart. We built a shopping cart for a client and when testing the checkout it seems to keep track of everyone as one person (guest). Meaning if you put something in the cart and someone else enters the site and puts something in the cart they see what the other person put in. It will even show their name and address. Has anyone ever experienced this?

 

Thanks

1. In both configure.php files in /includes folder and /admin/includes folder

 

define('STORE_SESSIONS', 'mysql');

 

2. Log in to your osc admin panel >>configuration>>sessions

 

prevent spider session -true

recreate session - true

Regenerate Session ID

If set to True the session id will be recreated when the customer tries to checkout or login to their account. This helps prevent two customers from accidently logging into each others account due to hard coded session id's in the store. (Requires PHP >=4.1)

 

3. Session Directory- whether true or false-

 

Create a folder in your root directory and call it store_session or whatever name you want.

Set 755 permission on that folder.

 

Go to Tools>>File Manager ---Click the store_session folder and under "File Manager" heading is a path to your session folder. Copy and paste it or write it down on a piece of paper.

 

It should read similar to this: /home/something/something/blah/public_html/store_session

 

Proceed to configuration>>sessions-->session directory --> enter the path of the session folder

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...