解决IFrame下无法写Cookie问题

               HttpContext.Current.Response.AddHeader("P3P", "CP=CAO PSA OUR");
               HttpContext.Current.Response.Cookies["homeid"].Value = val;
               HttpContext.Current.Response.Cookies["homeid"].Expires = DateTime.Now.AddDays(1);
posted @ 2011-10-27 16:23  顿金  阅读(1541)  评论(0编辑  收藏  举报