Microsoft KB Archive/249062

= page.GetShopperID Function Returns Null if Using Netscape Client over SSL =

Article ID: 249062

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Site Server 3.0 Commerce Edition

-



This article was previously published under Q249062



SYMPTOMS
When attempting to complete a purchase from a Site Server 3.0 Commerce store using a Netscape browser, the following message may be displayed in the shopper's browser:

Your basket is empty.

This message is displayed even though the shopper had items in their shopping basket prior to this message.



CAUSE
If the secure socket layer (SSL) is enabled for the Commerce Store, it is possible that the page.GetshopperID function is returning null. When the page.GetShopperID function returns null, the Commerce Server generates a new shopper ID and associates an order form with no items in it. This seems to occur with Netscape browsers connected to the Commerce Server through SSL when the GetShopperID method attempts to retrieve the shopper ID from a cookie. The GetShopperID attempts to retrieve the shopper ID from a cookie if the StandardSManager object is initialized using the cookie, cookieurl, or urlcookie modes.



RESOLUTION
To resolve this issue, remove the :443 and :80 suffixes for the secure and non-secure host names in the Commerce Host Administrator.


 * Expand the Commerce Host Administrator in the Microsoft Management Console.
 * Right-click the Commerce Site that is experiencing this problem.
 * Select Properties.
 * Select the Security tab.
 * Remove the :443 and :80 suffixes for the secure and non-secure host names under URL Formatting.



Steps to Reproduce the Behavior

 * Expand the Commerce Host Administrator in the Microsoft Management Console.
 * Right-click on the Clocktower sample site.
 * Select Properties.
 * Select the Security tab.
 * Check the Enable HTTPS option. (Requires that the WWW service has a usable key installed)
 * Make sure that the secure and non-secure host names under URL Formatting have :443 and :80 suffixes respectively.
 * Browse this Commerce Site with a Netscape browser and attempt to complete a purchase.

Keywords: kbprb KB249062

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.