Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-193

Add possibility to disable adding of cookies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Workaround exists
    • Blocker
    • None
    • 1.0.1
    • None
    • None

    Description

      We should:

      1. add enabled flag to info.magnolia.personalization.visitor.BeanCookie
      2. 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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              prabhakar.sekar Prabhakar Sekar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD