problem with session contents

A

Aneesh a

hi all,
I am a asp.net developer recentely i have met with a problem that
i am usually keeping all session contents in Sesion object like
Session.Contents["name"]=name,name is a string variable.After some time it
shows exception that object of null value found where ever i have used
"Session.Contents["name"].ToString()".help me how i can solve the problem
TIA
 

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

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top