session variable doesn't get value.

Posted by Abhi_patil under ASP.NET on 4/8/2009 | Views : 1370 | Status : [Member] | Replies : 2
when we access our company site,
it works fine.
but some times we get error that "null references" for session variable.
if i close application and restart and did same operation like before it works fine.
and this comes only for session variables.

why?

plz answer or any suggession for session variable.




Responses

Posted by: Vuyiswamb on: 4/9/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
There might be a lot of reasons. Mybe in your Applicaiton somewhere you are nullifiying you sessions or this might be connected to session timeout.

Please give us more info

Thank you for Posting in Dotnetfunda

Were looking forward for your Reply


Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhi_patil on: 4/11/2009 [Member] Starter

Up
0
Down
you r right, it was happening because of manually abandon session.

Thank you.

Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response