Environment: ASP.Net 4.0, IIS 7, Windows Server 2008 SP1, 64 bit Operating system
In our ASP.Net application, we are adding cookies to HTTP response in Page_Load() event using the following code -
HttpCookie cookie = new HttpCookie(cookieKey);
cookie.Expires = DateTime.Now.AddMinutes(cookieExpirationMin);
cookie.Values["language"] = language;
HttpContext.Current.Response.Cookies.Add(cookie);
The output caching is also activated for this page. After applying the "Microsoft security bulletin MS11-100" (Refer: KB2656351) update, the page output caching is stopped working for this page. If we simply uninstall this security update then the output caching starts working.
Because this security update is marked as CRITICAL SECURITY UPDATE, so our client would not recommend to uninstall it.
So I would like to know is there any workaround for this or some patch released by Microsoft to overcome this issue.
Kindly help us as we are facing this issue in production environment.
Regards,
Ankur Goel