We had an issue with cookies when we set from Servlets in AEM. If the “Do Not Track” setting is enabled in the browser, servlets (deployed in AEM) wasn’t setting the cookies in the browser. We solved this problem by whitelisting the cookies in “Adobe Granite Opt-Out Service” setting in the Apache Felix configuration manager.
Here is the screen shot. The cookies added to White-list cookies will ignore the “Do Not Track” header.
Though Adobe has provided the information in one of the documents (link below), there is not enough information available on how to resolve the issue. hence adding it here.
https://docs.adobe.com/docs/en/cq/current/developing/components/cookie-optout.html

Leave a comment