title: Changing session variables timeout in c#
body: <p>I have an asp.net mvc application in which I am using a <code>session</code> attribute:</p>
  
  <pre><code>Session["id"] = id;
  </code></pre>
  
  <p>My problem is the timeout of the attribute, I'd like to be unlimited until it changes to another value. Now when the timer expires (30 sec) <code>Session["id"]</code> takes <code>null</code> as value.</p>
  
  <p>What is the best way to do it?</p>