I'm facing an issue where I am attempting to retrieve a cookie value but am consistently getting an empty result. Interestingly, I can clearly see the cookie key that I am trying to access in the application tab of Chrome. However, when I use document.cookie
in the console to try and fetch the value, the key is not included in the list of cookies returned. Strangely, the key and value that I am seeking are visible in the application tab. Can anyone shed light on why this discrepancy is occurring?