We are having issues with the IefWebForm.aspx.cs getting a null value for the _Application variable, therefore the users are getting redirected to the session expiration page. Anyone experience this? Asp.net gen8.0?
Here is the method.
override protected void OnInit(EventArgs e)
{
// If the session does not exist, redirect to the session expired page
// Session_End (see Global.asax) only fires in InProc mode.
//_Session = (Application) Context.Session[ASPAdapter.ASPX_SESSION];
//_Application = (Application)Session[ASPAdapter.ASPX_APPLICATION];
Session[ASPAdapter.ASPX_CURRENT_SESSIONID] = Convert.ToInt32(Request.QueryString.Get("ID"));
_Application = (Application)Session[ASPAdapter.ASPX_APPLICATION + Session[ASPAdapter.ASPX_CURRENT_SESSIONID]];
//if (_Session == null)
if (_Application == null)
{
if (!IsDialog)
{
Redirect("Ief_SessionExpiration.aspx", true);
}
else
{
Response.Write("<script>parent.closeWindow();parent.IsSystemClose=true;parent.base().doUnload();</script>");
Response.End();
}
}