Strategy for mitigating race conditions when updating cookies?

Viewed 1947

So the situation is that on a given page there are many HTTP requests and each of these need to update a single shared cookie. There is no possibility to control how many requests are made per page, but realistically there can be 10+.

We've seen issues where only the last http request successfully updates the cookie and I am told this is due to browser dependencies.

Is this a known issue in general and are there any strategies for mitigating the risk?

2 Answers
Related