Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

everyone shares one visitor cart?


wwzeitler

Recommended Posts

Posted

REPRO:

 

1) Go to http://www.cbjewel.com

2) click on 'bracelets' and add one to the (visitor) shopping cart.

3) open a browser on another machine, go to http://www.cbjewel.com and click 'bracelets'

 

You'll see the bracelet you added in the first session

 

Is it possible to disable the visitor cart altogether? Or is there some setting I've got wrong that is causing this problem?

 

THANX!!

Posted

In both of your configure.php files make sure that the last line reads 'mysql' where indicated - this'll store sessions in the database and not in files. Also make sure that 'use_pconnect' is set to false. In your osC admin panel, set Use Cache to false.

 

In your includes/configure.php file make sure that your http_cookie_domain is set to 'www.yourdomain.com' and not to 'http://www.yourdomain.com'

 

Vger

Posted
In both of your configure.php files make sure that the last line reads 'mysql' where indicated - this'll store sessions in the database and not in files.  Also make sure that 'use_pconnect' is set to false.  In your osC admin panel, set Use Cache to false.

 

In your includes/configure.php file make sure that your http_cookie_domain is set to 'www.yourdomain.com' and not to 'http://www.yourdomain.com'

 

Vger

 

>In both of your configure.php files make sure that the last line reads 'mysql' where indicated - this'll store sessions in the database and not in files.

 

I presume this means that I want the last line to read:

 

define(STORE_SESSIONS, 'mysql');

 

(was formerly define(STORE_SESSIONS, ''); )

 

Made other changes as specified, restarted apache, and I'm still getting the same behavior.

 

THANX!

Posted

You shouldn't have had to restart Apache for those sort of changes to take effect.

 

The changes I provided should have resolved the problem, but as the problem still exists it looks to be a problem with the server setup. It's certainly not handling sessions correctly.

 

Vger

Posted
You shouldn't have had to restart Apache for those sort of changes to take effect.

 

The changes I provided should have resolved the problem, but as the problem still exists it looks to be a problem with the server setup.  It's certainly not handling sessions correctly.

 

Vger

Archived

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

×
×
  • Create New...