Session Error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There is a part of code which checks whether the session variable is NULL. If
it is then it redirects to login page, but if it is not then it continues
further processing. I have noticed a peculiar behaviour of this variable. At
one instance it passes the NOT NULL code, but then later on in the code it
says that the object reference not set to an instance of an object.
Can anyone tell me why this wierd behaviour?
 
Ankit,
I am sorry to tell you that even that doesnt work. I have tried many
different techniques to resolve it. I also checked against Session counts.
But all in vain. I think this is a generic .NET bug with sessions. Also, you
will find it amaing that all this check is in the left.ascx which loads
before any other code and infact only then the centre screen SHOULD appear.
Thanks anyways.
 
Back
Top