Details
-
Bug
-
Resolution: Workaround exists
-
Blocker
-
None
-
1.0.1
-
None
-
None
Description
We should:
- add enabled flag to info.magnolia.personalization.visitor.BeanCookie
- check this flag in
- info.magnolia.personalization.visitor.CookiesFormProcessor
- info.magnolia.personalization.visitor.VisitorDetectorFilter.detect(HttpServletRequest, HttpServletResponse)
Moreover BeanCookie, CookiesFormProcessor could be moved to Form module since are not personalization specific.
Original issue:
The Visitor detector filter creates too many cookies. We noticed that it sets a Cookie (Ex: VISITOR=returning) for almost every request. Our application uses a maximum of 10-12 cookies. But, as this filter sets a cookie for each request, the browser quickly reaches the maximum number of cookie the browser can support. The browsers deletes old cookies when it gets new cookies that comes after reaching the maximum limit. While removing old cookies, it removes cookies that are needed by the application.
As of now, we could not use the application as the application needs our cookies to work properly. Please check and get back. Do let us know if you have any workaround for this problem.