php - Cookies not read in IE
Im having a strange problem.
I have a subdomain where a customer comes in with a specific URL When the customer is recognized I set a cookie and redirect them to the main domain. there I check for this cookie to hide some elements. This is working great in Chrome, Firefox and even Edge on Microsoft, but not in IE11 and chrome on Apple machines.
When I type document.cookie in the IE console, I can see the cookie. I display a cookie found message in the console which I can see in chrome etc. but not in IE. So it looks like IE can't find the cookie, while it is actually there.
Is there someone who can explain this behaviour?