By default the Ambient Data Framework always generates cookies for your Web site visitors. You can change the default behavior (for example, due to international legislation or company policy) and create a Claim Processor to generate cookies on a per-visitor basis.
Procedure
- Open the cd_ambient_conf.xml in a plain-text or XML editor.
- In the
CookieClaim element, set the DefaultValue attribute to false.
The Ambient Data Framework will now not generate cookies for all visitors.
- If you create a Claim Processor to override the generation of cookies on a visitor-by-visitor basis, in the
CookieClaim element, set the Name attribute to the name of your Claim Processor.
<CookieClaim DefaultValue="false" Name="CookieClaim"/>
The Ambient Data Framework checks this Claim Processor for each visitor and override the system default if necessary.
Note: The implementation of the Claim Processor is up to you: you can decide to set cookie generation without asking the visitor (and generate cookies based on the visitor's IP address), or you can explicitly ask the visitor whether to allow cookies showing a 'yes' as default (opt-out scenario) or a 'no' (opt-in scenario).
- Save and close cd_ambient_conf.xml.