This is the previously available e-commerce website, because the sales of the website is virtual, such as what is the game recharge card, support online payment. For a long time, there is no idea of many people want to play the website. Some bored people have used the agent to attack the website, so that we know that they have attracted the opponent, and then discover the request in the ASP. ServerVariables ("http_x_forwarded_for") can get the user's proxy IP. If the user used the agent, then this value will not be empty. on the contrary. Oh, then we can detect the user's agent IP when loading the web page is empty. The procedure is as follows: useertrueip = request.serverVariables ("http_x_forwarded_for") if UserTrueip <> "" Ten Response.write "is based on the website itself and your personal data security, please do not use the proxy server" response.end () endiff like this, If someone still wants to destroy your website, he has to use his true IP. But the general people do not dare to attack others with real IP.