Discussion Locked

Active Server Pages

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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.

2 replies

by peyison

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 "

" & SV & " = " & request.servervariables(SV) & "

"
next
%>

Hope this helps.

by peyison

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.

This discussion is closed to new replies.