Client IP Address or PC Name

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

Guest

How can I obtain the client IP address or machine name from within an asp.net
application? I want to use this information to determine where to redirect a
web page.

Many thanks

Homer
 
Homer,
How can I obtain the client IP address or machine name from within an
asp.net
application? I want to use this information to determine where to redirect
a
web page.
I do not understand what you mean with redirect a webpage, why do you need
for that a client IP adres?

Cor
 
I am using response.redirect with a target address depending on the subnet
that the clients machine is located in. Apologies for adding confusion, as
this part is pretty much irrelevant to my question.

The important question is it possible to get the ip address of the clients
machine and if so how?

Many thanks

Homer
 
Back
Top