cookie-consent icon indicating copy to clipboard operation
cookie-consent copied to clipboard

AWSALB cookies are being removed

Open jeanniebrady opened this issue 3 years ago • 3 comments

We have found that when consent for cookies is rejected or withdrawn, our AWSALB cookie is being removed along with the intended analytics cookies. This is causing user sessions to be lost. The deleteCookies() function contains this logic and only excludes the nhsuk-cookie-consent cookie.

jeanniebrady avatar Dec 03 '21 14:12 jeanniebrady

I'm not a dev on the project and maybe I've misunderstood the question, but I would suspect this is by design - if the user has rejected cookies, they're rejecting all cookies not essential to the site actually functioning, such as session cookies, and unfortunately for us web devs those non-essential cookies includes analytics.

hashimaziz1 avatar Mar 21 '22 17:03 hashimaziz1

Hi, the AWSALB cookie is essential as load balancing relies on it.

jeanniebrady avatar Mar 21 '22 21:03 jeanniebrady

@jeanniebrady this is a duplicate of https://github.com/nhsuk/cookie-consent/issues/102

mikemonteith avatar Dec 15 '22 12:12 mikemonteith