Urgent Help Needed :- Session.get_Item evaluated

G

Guest

Dear all,

I having a problem here. The situation is as follow, I have a web system
with is using C#, if error occur it will capture the error in Global.asax.cs
in "Application_Error" and it will kept the error message in a session -
Session["ErrorMsg"].

In Global.asax.cs it wil redirect to an error page - "ErrorPage.aspx" to
display the error message reading from the session.

The problem is on "Page_Load" in "ErrorPage.aspx", it try to read the
Session["ErrorMsg"] but it return error which is :- "function
'Session.get_Item' evaluated and returned null"

What is the problem that cause the error ? Would help if example is provided.

Thanks in advance.


Cheer,
Mae
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top