View Single Post
Old 02-10-2005, 09:16 AM   #1 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
Keeping sessions unique when someone links with SESSID?

A little history: I have a site that I just setup. We have been getting several hundred orders a day and many of them are corrupt (IE. missing items or having extra items). I have looked over the checkout scripts 20 times and can't find any problems. I can not reproduce the problems on my end and my client can not reproduce the problem on her end.

Yesterday I was looking at our referrers and noticed that our largest referrer was linking to the site with a session id appeneded to the end of the URL! I went ahead and followed that link using Firefox and then opened up another session on my laptop (following the same link). Both systems were using the same session; adding & removing items from each other. This appears to be the cause of all my frusteration.

Now, my question is. How do I ensure that only 1 user has a session open at a time? I don't want to query the database on every page as this site will be generating massive traffic in the next couple of months. Keeping everything as light weight is ideal....
__________________


Urban Clothing
Admin is offline   Reply With Quote