日期:2014-05-20  浏览次数:20833 次

框架注销cookie后转向的问题
C# code

  if (Request.Cookies["admin"] != null)
        {
            Response.Cookies["admin"].Value = null;
            Response.Cookies["admin"].Expires = DateTime.Now.AddDays(-1);
            ClientScriptManager csm = this.Page.ClientScript;
            csm.RegisterStartupScript(this.GetType(), "exit_tip", "alert('您已经安全退出了!');",true);
            Response.Redirect("../Default.aspx");
        }



用的是框架 分头部 左侧 右部 现在注销按钮 在头部 我点击后 只是框架头部的页面转向到了default.aspx 其他两个部位
没动。 怎么办? 如何让整个框架刷新一下?

------解决方案--------------------
parent.location.href