diazz 0 Newbie Poster
System.Web.SessionState.HttpSessionState curSession = HttpContext.Current.Session;
if (curSession.IsNewSession)
{ if (Utils.SessionHandler.IsSessionExpired == curSession.SessionID)
  {   Error oError = new Error(true);
      Utils.SessionHandler.AES_Error = oError;
string strVal = "{\"array_list\":{\"list\":[{\"Source\":'SessionExpired'}]}}";
            Response.Write(strVal);
         }   }

i am suddenly facing a problem the above is generating an error

"{"array_list":{"list":[{"Source":'SessionExpired'}]}}" in my browser

when i added watch it showed me that Utils.SessionHandler.IsSessionExpired == curSession.SessionID have the same id.

suggest me a solution coz it was workin before and now its not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.