T
tirathankarg
hi,
I am storing some values in Session object. I am accessing these values
as Session["var"]. However there are times when i get error "Object
reference not set". This is because session has timed out and i try to
access some value stored in this object. How can I avoid this? Isnt
there any way in ASP.NEt 2.0 where before accessing any value, i check
if session exists or not? soemthing like "Session.IsExists". OR what
are the other ways of solving this problem.
Thanks
Tirath
I am storing some values in Session object. I am accessing these values
as Session["var"]. However there are times when i get error "Object
reference not set". This is because session has timed out and i try to
access some value stored in this object. How can I avoid this? Isnt
there any way in ASP.NEt 2.0 where before accessing any value, i check
if session exists or not? soemthing like "Session.IsExists". OR what
are the other ways of solving this problem.
Thanks
Tirath