Ready to make a counter,
Used today,
I have been looking for a long time.
I know a little.
If you know, give me a message.
Request.ServerVariables ["http_via"] --------- You can get the IP inside the user
Request.ServerVariables ["http_x_forwarded_for"] --------- You can know the server name and port of the proxy server
How did the two tests have not been displayed? Strange, what is the two?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
HttpRequest.ServerVariables ["remote_addr"] can get the browser's IP address, such as 218.56.56.206
HttpRequest.serverVariables ["URL"] can get URL information requested by the user, for example, if the request
http://www.coofucoo.com/yonoworks/test.aspx
The information obtained is
URL: /yonoWorks/test.aspxhttpRequest.serverVariables ["http_host"] can get host information, for example, if request
http://www.coofucoo.com/yonoworks/test.aspx
The information obtained is http_host: www.coofucoo.com