Commerce Reference Store sets the userPrefLanguage cookie to store the customer’s preferred language. This cookie is Commerce Reference Store-specific, and cannot be disabled without making code changes to Commerce Reference Store. To disable the cookie, modify the atg.projects.store.servlet.pipeline.StoreProfilePropertySetter class; change the setProperties() method of this class to remove the call to createUserPrefLangCookie(). (The source code for this class can be found in the src/atg/projects/store/servlet/pipeline/StoreProfilePropertySetter.java file in the Store.Estore module.)

Disabling this cookie prevents storing of the customer’s preferred language. Each time the customer returns to the site, the site will appear in the default language, and the customer will need to select his or her preferred language again.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices