Regards Martin
Peter Goggin wrote:
I did not make my request for information clear. The two scenarios which I have to cover:
1. The user registers as a customer with the site. In this case the shopping basket and items can be attached to the customer Id. and the shopping basket made available across sessions. The shopping basket is created when the first item is added. It is closed when the final order is placed. I have already coded this and it works satisfactorily.
2. The user does not register. Instead the process is to add items to a shopping basket, which is then converted to an order or discarded at the end of the session. How do I identify shopping baskets belonging to different concurrent users? Should I include the session Id in the record, use cookies or what?
Is the php session Id a unique ID ?
Regards
Peter Goggin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php