Support - Knowledge base

Giving you the answers you need

Why not try our knowledge base for instant help and advice to enhance your online experience with Register365? From within the knowledge base you can browse our frequently asked questions and find the right answers to help solve your queries.

Home  >  Scripting  >  ASP (Active Server Pages)  >  View Article

How to see all of the server variables for an ASP application.

Not enough ratingsNot enough ratingsNot enough ratingsNot enough ratingsNot enough ratings

Article

Try the following script to see all of your server variables in a neat table:

<html>
<body>
    <table width="85%" border="1" cellspacing="0" cellpadding="2">
        <% For Each VariableName In Request.ServerVariables %>
        <tr valign="top">
            <td><%=VariableName%></td>
            <td><%=Request.ServerVariables(VariableName)%></td>
        </tr>
        <% Next %>
    </table>
</body>
</html>

Rate This Article

How useful was this article?

Not useful A little useful Useful Very useful Everything I needed