(Enterprise)Configure the cookie for procurement
WebSphere Commerce uses a generated encrypted cookie to bind the session between the Punch-out setup phase where the requisitioning user's (if the user is new) authentication and registration is performed, and the catalog shopping phase where the procurement system launches a new browser window for the requisitioning user.
Task info
There are four configurable parameters related to this cookie:
- The maximum number of cookies present in the system at one time.
- The expiry time of the cookie.
- The cleanup interval time for the expired cookies.
- The maximum number of times to retry fetching the supplierCookie data from the cache (It can be used if the DRS has not completed the replication to all servers). There is a 100 millisecond wait time between each retry.
To configure these parameters:
Procedure
- Open the WebSphere Commerce configuration file.
- Change the MessagingExtensions element to the following:
<MessagingExtensions display="false"> <SupplierCookie maxCount="1000" CleanInterval="5" ExpiryTime="100" maxRetries="30" /> </MessagingExtensions>
Related concepts
Procurement system integration