在D.html中
window.onload时
接收到模态窗口传过来的参数
然后把location 重新定向到 e.aspx?para=" + 参数
然后
在e.aspx中
<frame src="f.aspx?para=<%=Request.QueryString["para"]!= null?Request.QueryString["para"].ToString():""%>"">
...
window.onload时
接收到模态窗口传过来的参数
然后把location 重新定向到 e.aspx?para=" + 参数
然后
在e.aspx中
<frame src="f.aspx?para=<%=Request.QueryString["para"]!= null?Request.QueryString["para"].ToString():""%>"">
...
b和ef因为有弹出窗口,可能存在不一样的问题
而且有下面的情况:
Page_Load()
{
Session["temp"] = 2;
}
button_Click()
{
Response.Write(Session["temp"].ToString());
}
--------------这样可以成功
但如果这样写就报错,说未将对象引用到实例:
Page_Load()
{
Session["temp"] = Request.QueryString["temp"];
//这里的Request.QueryString["temp"]的值是2,我验证过了的。而且Session["temp"]也已经有了值,是2,这肯定没错。但是到button_Click()函数中的时候,这个Session就莫名其妙的没了。
//而且比如这里的SessionID和button_Click()里的SessionID不一样
}
button_Click()
{
Response.Write(Session["temp"].ToString());
}
---------------------------------
总之,今天我见了鬼了
---------------------------------
下班了,明天接着讨论
那么B中的Session值会丢失,这是IE的BUG