このコードを使用してCookieを設定しています。 Firefoxでは完全に動作しています。 IE9ではそうではありません。以下はIE9でCookieが設定されていません
はコードです:HttpContext.Current.Responseではなく、リクエストにクッキーを追加する
HttpCookie visitorCookie = new HttpCookie("VisitorCity", DdlCity.SelectedItem.Text)
{Expires = DateTime.Now.AddMonths(1)};
HttpContext.Current.Request.Cookies.Add(visitorCookie); // Add it to the header
リクエストをレスポンスに変更して問題を解決し、=>インターネットオプション=>詳細タブ=>リセット – Humayoo