I am getting the Object reference not set to an instance of an object. error frequently even if I have tried increasing Session Timeout = 1440 in the web.config file.
This happens on the Session["company_id"] because I am using this session again and again in most of the pages.
I know that the Session["company_id"] is getting expired but Is there a way to increase the time of expiration..?
Session["company_id"]is null or empty i think, and you are trying to use it. Check the value of the session before you gonna use it.