title: having trouble reading header values in classic ASP
body: <p>This is all internal servers and software, so I'm very limited on my options, but this is where I'm at.  This is already a band-aid to a workaround but I have no choice, so I'm just trying to make it work.  </p>
  
  <p>I have a simple .asp file on my server that is protected by a service that will handle the user authentication (I have no control over this service).  When a user goes to this .asp file, it requires them to authenticate via the service, and the service then redirects them to the .asp. </p>
  
  <p>The service is inserting custom values in to the http header that allow me to identify who has logged in (I need it further down the line).  When I use the asp to view the ALL_RAW and ALL_HTTP values from the header, I can see all the custom values.  But when I try to call these values specifically I get nothing.   </p>
  
  <p>I ran this simple loop:</p>
  
  <pre><code>&lt;%
  for each x in Request.ServerVariables
    response.write("&lt;B&gt;" &amp; x &amp; ":&lt;/b&gt; " &amp; Request.ServerVariables(x) &amp; "&lt;p /&gt;")
  next
  %&gt;
  </code></pre>
  
  <p>and all the keys display including the custom ones.  But none of the custom <em>values</em> will.  The values are the part I need.  </p>
  
  <p>the only thing I can find unique about the custom values is that they look slightly different in the ALL_RAW value, but they all look correct in the ALL_HTTP.  As best I can tell, they are formatted correctly.  the only formatting differences between the standard and custom values are case and underscores instead of hyphens.</p>
  
  <p>Why can I not read these custom values?</p>