Tuesday, August 28, 2012

ATG Commerce and Session Backup



ATG Commerce adds several property values to the list of values that are written to the session backup server after every request. The property values that are added preserve the following for the user:

1.current and saved orders

2.active promotions

3.products currently being compared

4.event name for the current gift list

The properties that store this information are specified by layering on the following configuration file for the central configuration component, /atg/dynamo/Configuration.

# Add orders, promotions, and product comparisons to the list of
# items that are restored on session failover.

sessionBackupServerPropertyList+=\
     /atg/commerce/ShoppingCart.restorableOrders,\
     /atg/userprofiling/ProfileFailService.activePromotions,\
     /atg/commerce/catalog/comparison/ProductList.items,\
     /atg/commerce/gifts/GiftlistFormHandler.eventName

The configuration file is located at /<ATG9dir>/DCS/config/.

No comments:

Popular Posts