We're using formsauthentication in a .net mvc application and we're seeing a strange issue. Sometimes (seemingly random) the response comes back from the server with 2 cookies with identical names. It seems that chrome, mozilla, opera handle this allright. But Edge deletes the authentication cookie entirely. After the next request we are obviously returned to the login page because we don't have an authentication cookie.
Here's a screenshot from the edge developer tools showing the request/response cookies.
I've been searching everywhere but I've got no idea why this would be happening. Any ideas are welcome!