When default.aspx is redirected to another page and then redirected back, the sub-callback doesn't work.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM005290
已提交
November 28, 2006
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
编程语言
C#
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
Two workarounds:1. Obviously, set the login page as the starting page.2. Add Map1.refresh() to force the sub-callback to be executed. The code is: protected void Page_Load(object sender, EventArgs e) { try { string id = Session["id"].ToString(); Map1.Refresh(); } catch (NullReferenceException) { if (!Page.IsCallback && !Page.IsPostBack) { Server.Transfer("login.aspx"); } } }