title: Global Variables MVC application
body: <p>I'm working in an MVC application  using MVC5.  I was wondering about how can I declare a global variable.  I have created variables in global.asax like this: </p>
  
  <pre><code>HttpContext.Current.Application["Login"] = "Jonh Doe";
  </code></pre>
  
  <p>Also I have created private static members in the controllers.  But I have realized that if two users are browsing the app the value that one store on the variable is shared between the rest.</p>
  
  <p>Any way that i can store variables that are not shared between all instances of the application?</p>