title: Changing the default value of session's variable timeout in asp.net mvc
body: <p>I have an Asp.net Mvc application with razor views engine , in which i used a variable <code>Session['user']</code> : when an user log on the application <code>Session['user'] = login</code> and in the logout this variable takes as value <code>Null</code>.</p>
  
  <p>The problem is that there is a short timeout and the session variable expires : if i do nothing in one minute after log on the application <code>Session['user'] =null</code> automatically.</p>
  
  <p>So how can i set the timeout of the session's variable unlimited until it is changed by program?Any suggestions?</p>