Application_Error中设置session,但是在转向的错误页面(error.aspx)无法获取该session值?为什么?谢谢!
WNASP 2007-03-13 05:06:23 protected void Application_Error(Object sender, EventArgs e)
{
Session["test"] = "23424234";
}
web.config中
<customErrors mode="On" defaultRedirect="Error/Error.aspx" />
在Error.aspx叶面中无法获取Session["test"]值
谢谢!