Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21991

UserHash should be cached tied to user session id, not user cookies

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.3
    • 5.2
    • Caching
    • Ventoux Sprint 5

    Description

      The current code storing the userhash in a cache uses the whole set of the cookies sent by the user to create the key.
      This poses 2 problems:

      1. apps which change frequently the value of the cookies, such as analytics tools (ezreco, odoscope) will cause the userhash to be recalculated frequently and saved multiple times in the cache for the same user

      2. if an ezpublish installation is hosting many siteaccesses using the same domain, then the userhash calculated based on the user cookies will be only 1, while there should be a separate userhash saved for each siteaccess

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaetano.giunta-obsolete@ez.no Gaetano Giunta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Time Spent - 1 day Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 1 day Remaining Estimate - 4 hours
                1d