ASP.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you get the ip address of a client? What I am triing to do is store
the ip address along with other information that someone stores at my site.


Thanks in Advance!
 
Lookup ServerVariables on MSDN. There is one for Remote_IP, or something to that effect. The collection can be obtained through
System.Web.HttpContext.Current.Request.ServerVariables["variable_name"]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top