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"]
 
Back
Top