General discussion

Locked

Active Server Pages

By f_saleem ·
Please tell me the use of 'ServerVariables' in the development,where we can use this information retrieved from predefined environment variables?and thankx to bill for giving me the most specific answere of my previous question.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Active Server Pages

by Peyison In reply to Active Server Pages

You can get to ServerVariables using the Request object. There are many variables you can use - such as URL, QUERY_STRING, LOCAL_ADDR, etc. To see them all, and see what the values are, put this code in an ASP page and load the page. You can print the page to use as a reference

<% For Each SV In Request.ServerVariables
response.write "<p>" & SV & " = " & request.servervariables(SV) & "</p>"
next
%>

Hope this helps.

Collapse -

Active Server Pages

by Peyison In reply to Active Server Pages

By the way - if you liked Bill's answer to your previous question, you can give him credit by Accepting the answer when you go to close the question.

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums