Forum Moderators: coopster

Message Too Old, No Replies

problem with PHP cross indexing

problem with PHP cross indexing

         

paully11rocks

12:49 am on Feb 24, 2004 (gmt 0)

10+ Year Member



I work for an ecommerce site running an apache server with a PHP backend. We are having a strange problem that our developers believe is a server configuration problem that is resulting in either Apache or PHP cross-indexing records for users.

Basically, the problem is that customers are logging into our site, attempting to make purchases, and ending up with other customers information auto-populating their shopping cart. They are also getting confirmation emails for the wrong customers.

Our developers have scoured our code to try to find any sort of problem on their end and have ruled that out as a possibility. Does anyone know of any sort of configuration problem that might lead to these symptoms? Any ideas are greatly appreciated...

Thanks,

Paul

coopster

1:52 am on Feb 24, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, paully11rocks!

Are your programmers using PHP session management, files, cookies, javascript...? How are they populating the shopping cart?

jdMorgan

2:13 am on Feb 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Paul,

Welcome to WebmasterWorld [webmasterworld.com]!

> and have ruled that out as a possibility.

That looks like the problem right there.

Apache serves whatever pages the client browser requests... Nothing more. Each request is unique to Apache -- It has no knowledge of any relationship between a previous request and a current request. It just serves pages.

Look into whatever method you are using as a database -- Whatever associates users with carts and e-mail addresses with users.

Jim