I had the same problem and solution was to turn off output caching for the responses where you call SetCookie. Below are several links describing this
I had the same problem and solution was to turn off output caching for the responses where you call SetCookie. Below are several links describing this