8

The docs [login required] state that your web application cd_ambient_conf.xml should contain the following cartridges when setting up Session Preview:

<Cartridge File="cd_webservice_preview_cartridge.xml"/>
<Cartridge File="footprint_cartridge_conf.xml"/>

Firstly, is that a typo with the first cartridge? We are using session_cartridge_conf.xml and it works fine. UPDATE: I see that session_cartridge_conf.xml is for SmartTarget, so ignore this.

Secondly, what do these cartridges actually do? I can't find it described anywhere in the docs. I had assumed that the footprint cartridge overrides values in the ADF from Footprints sent by XPM, however we do not have this configured, yet Footprints seem to work just fine.

1 Answer 1

6

The preview cartridge (cd_preview_ambient.jar) manages your sessions -- ensuring that you have a valid token that hasn't expired, creating a new sessions as necessary, etc.

The footprint cartridge just adds some standard claims about the session. I think this one is mostly there for backwards-compatibility and to provide some claims out-of-the-box for the Footprint functionality in Experience Manager. In case you are wondering, it's part of the cd_preview_web.jar file; there is no footprint_cartridge.jar file anymore.

2
  • OK - that makes more sense. What bit of all this actually overrides ADF claims with the values from the footprint then?
    – Will Price
    Jan 20, 2015 at 11:10
  • The PreviewClaimStore does the actual overwriting of claim values based on the footprint cookie(s) sent in the request. Jan 21, 2015 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.