title: How to Check whether Session is Expired or not in asp.net
body: <p>I've specified the session timeout in web.config file. When the session is timeout I'm not getting redirect to the login page but I am getting an error saying object reference not set to an instance.</p>
  
  <p>Can anyone tell me the solution for this?</p>