title: Declaring a global Request.ServerVariable variable
body: <p>After many many years of using Classic ASP, I am attempting to delve into the world of ASP.Net using VB. 
  I have gotten way to use to being able to declare variables on a page, inlclude that file and use it everywhere. 
  I am struggling to declare a global variable. I just need
  <code><pre>
  Dim TheUser As String = Request.ServerVariables("AUTH_USER")
  </pre></code>
  Then use it on a page as <code>&lt;%=TheUser%></code>
  I have tried
  <code><pre>
      Module GlobalVars
           Dim TheUser As String = Request.ServerVariables("AUTH_USER")
      End Module
  </pre></code>
  But then I get "'Request' is not declared."</p>
  
  <p>If I use <code>Dim TheUser As String = Request.ServerVariables("AUTH_USER")</code>
  within a Page_Load sub, the Request part is fine, but then I cant use it on my .aspx page. I get <i>'TheUser' is not declared. It may be inaccessible due to its protection level.</i>      </p>
  
  <p>I apologize in advance as if this an extremely remedial question.</p>
  
  <p>I just dont know where I am suppose to declare it, or maybe you can't declare variables to be used everywhere. </p>