vb.net - Object reference not set to an instance of an object. ASP.NET (VB) -


This problem is when I try to read sessions in another asp.net page.

The object is not set for an instance of reference object.

  if session ("CNA") If the session is set to the default page with this code: " 
  session ("cne") = cne.Text  

Thanks.

  dim CNA = session ("CN") If CNE is nothing or CEE . Ecloss ("") then answer it. Redirect ("~") End  

Comments