title: asp.net mvc when should i read servervariables?
body: <p>When is the apropriate time (part of code) that i can gather information from servervariables? I mean, i have tried calling this</p>
  
  <pre><code>string temp = Request.ServerVariables.Get("HTTP_REMOTE_USER");
  </code></pre>
  
  <p>in the Controller constructor, but i am getting a nullpointerexception, while in an action it works properly. And it just doesnt seem very clean to call it in each action..</p>