Archive for tag: Web Server

Loop ServerVariables

Example in Classic ASP showing how to loop Request.ServerVariables

<% Dim strKey %>
<table border="1">
   <tr>
      <td><b>Server Variable</b></td>
      <td><b>Value</b></td>
   </tr>
   <% For Each strKey In Request.ServerVariables %>
   <tr>
      <td><%= strKey %></td>
      <td><%= Request.ServerVariables(strKey) %></td>
   </tr>
   <% Next %>
</table>