This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > ShoppingCart Session ID





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ShoppingCart Session ID
Thunder

2004-04-06, 10:35 pm

Hi,
I've developed a shopping cart program whereby customers add items into a
'cart', i.e. a table in a database. In order to identify which items in the
shopping cart belong to a specific customer, I load their session ID number
into the cart as one of the fields...and do a search for items based on that
ID #. Unfortunately, I am now also using an SSL server so that when the
customer goes to a page in the /SSL folder, the session ID # is different
because the SSL folder is located on a different folder.

Questions: What is the best way to track a customer's shopping cart items
from the main server to the secure server so that each item in the cart can
be uniquely associated with that particular customer? Given that multiple
customer may be loading items to the same cart simultaneously, I need a good
way to do a sort. Any suggestions welcome.


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews