title: Session Management - How to keep session alive throughout ASP.NET website
body: <p>I have a complex ASP.NET(c#) website which uses many web services. Every web services takes a username and password which I store in a session variable on login. </p>
  
  <p>My problem is, when the session expires, which is very unpredictable (can be anytime), my website throws an object reference error.</p>
  
  <p>What's the best way to go about capturing the session timeout in one place before it tries to use the web service with the expired session? </p>