How to get IP address or machine name of the user accessing my page's URL? I want to restrict the users who access my page using either IP address or machine name. I am going to host my web application at a remote server. Please help me out in solving this.
Check out this article at W3Schools:
http://www.w3schools.com/asp/coll_servervariables.asp
you can try:
Request.ServerVariables("remote_addr")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.