Forums / General Questions / Customer Logs in and sees another customers account

Customer Logs in and sees another customers account

Locked

Views: 1,407

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Sep 2007, 5:28 PM
#1
romanus avatar

romanus

Zen Follower

Join Date:
Feb 2004
Location:
portsmouth, nh us
Posts:
101
Plugin Contributions:
3

Customer Logs in and sees another customers account

I had a weird problem that I can't seem to track down. A customer logged into their account and saw another customer's information. Has anyone else ever had this problem? Could this be a session problem?

This is a 1.2.6 install with wholesale/dual pricing installed.

"You must be the change you wish to see in the world" - Ghandi

27 Sep 2007, 9:11 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Customer Logs in and sees another customers account

Yes - it's likely a session problem .... but more specifically it's an advertising problem.
If the customer is coming to your site via a link that contains a zenid parameter, then everyone who comes to that link will share their information.

The key is to NOT post links that contain the zenid parameter. This means emails, advertising, everything.

In the newer versions of Zen Cart there have been some improvements to the Session Recreate logic which will dump the existing zenid during login and build a new one. You could try flipping that switch on in your current version, but I have no idea if it will help much or not. I suggest upgrading either way.
Admin->Configuration->Sessions->"Session Recreate" --- set to True.
Don't touch anything else in there.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Sep 2007, 11:34 AM
#3
romanus avatar

romanus

Zen Follower

Join Date:
Feb 2004
Location:
portsmouth, nh us
Posts:
101
Plugin Contributions:
3

Re: Customer Logs in and sees another customers account

Thanks,

I will make sure that we don't send out any links containing the session id.

An upgrade is in progress, but it takes a while to get through everything and test it

"You must be the change you wish to see in the world" - Ghandi