Hello all,
I have a procedure in Application_onError in the global.asax file that sends an email to the Administrator and then redirects to an error page.
In the email it also sends some information that has been retreived from session variables.
This used to work fine. Now it doesn't - the only thing I can think of that has changed is that we upgraded from .NET 1.1 to 2.0
This is how I am accessing the session variables
Dim ClientID as string = HttpContext.Current.Session("client_id")
And this is the error message I get
Object reference not set to an instance of an object.
Can anyone help with this problem?
Thanks
Vicky....
"I used to have a handle on life...then it broke
I have a procedure in Application_onError in the global.asax file that sends an email to the Administrator and then redirects to an error page.
In the email it also sends some information that has been retreived from session variables.
This used to work fine. Now it doesn't - the only thing I can think of that has changed is that we upgraded from .NET 1.1 to 2.0
This is how I am accessing the session variables
Dim ClientID as string = HttpContext.Current.Session("client_id")
And this is the error message I get
Object reference not set to an instance of an object.
Can anyone help with this problem?
Thanks
Vicky....
"I used to have a handle on life...then it broke