You are currently offline, waiting for your internet to reconnect

Commerce Server 2002 Unable to add items to basket after January 1, 2010

This article has been archived. It is offered "as is" and will no longer be updated.

After January 1, 2010, when a shopper attempts to add an item to their basket, the customer receives the following error message:

Your basket is empty



The Commerce Server 2002 site was upgraded from Site Server inheriting code that sets the shopperid cookie expiration to January 1, 2010.  If the Commerce site is calling the CreateShopperId/PutShopperId API in cookie mode the issue will occur.  Since the cookie expires immediately, users are unalble to add items to the basket.



Set the expiration date for the shoppermanager object to a later expiration date.
You will need to make a change where you initialize this object most likely in the global.asa file.

For example:

set obj=createobject("Commerce.StandardSManager")
obj.InitManager "retail","Cookie"

Commerce Server sites upgraded from Site Server still using the shoppermanager object should migrate to authmanager.


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2012742 - Last Review: 12/12/2015 05:40:45 - Revision: 1.0

Microsoft Commerce Server 2002 Developer Edition, Microsoft Commerce Server 2002 Enterprise Edition, Microsoft Commerce Server 2002 Service Pack 3, Microsoft Commerce Server 2002 Standard Edition

  • kbnosurvey kbarchive KB2012742