I am getting and error message when i'm trying to get Session value in Global.aspx:
I have tried another method to get Session value and result is same but message is different:
This error occur in Application_Error method and Session is not null but it shows that it is null. I have put this Session code in (HttpContext.Current.Session != null) condition so it is working fine but i want session value which is not getting with this method.
Please help me. Thanks