Client IP Address or PC Name | | |
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 | | | | re: Client IP Address or PC Name
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
"Cor Ligthert" wrote:
[color=blue]
> Homer,
>[color=green]
> > 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.
> >[/color]
> I do not understand what you mean with redirect a webpage, why do you need
> for that a client IP adres?
>
> Cor
>
>
>[/color] | | | | re: Client IP Address or PC Name
Homer,
I assume, that this is the page you are looking for, the actual IP adress of
a computer can be very rare to find because of proxies, local networks,
firewalls, etc. http://msdn.microsoft.com/library/de...rvariables.asp
I hope this helps?
Cor | | | | re: Client IP Address or PC Name
Homer,
[color=blue]
> 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.
>[/color]
I do not understand what you mean with redirect a webpage, why do you need
for that a client IP adres?
Cor | | | | re: Client IP Address or PC Name
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
"Cor Ligthert" wrote:
[color=blue]
> Homer,
>[color=green]
> > 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.
> >[/color]
> I do not understand what you mean with redirect a webpage, why do you need
> for that a client IP adres?
>
> Cor
>
>
>[/color] | | | | re: Client IP Address or PC Name
Homer,
I assume, that this is the page you are looking for, the actual IP adress of
a computer can be very rare to find because of proxies, local networks,
firewalls, etc. http://msdn.microsoft.com/library/de...rvariables.asp
I hope this helps?
Cor | | | | re: Client IP Address or PC Name
Thanks very much Cor. This was exactly what I needed.
Homer
"Cor Ligthert" wrote:
[color=blue]
> Homer,
>
> I assume, that this is the page you are looking for, the actual IP adress of
> a computer can be very rare to find because of proxies, local networks,
> firewalls, etc.
>
> http://msdn.microsoft.com/library/de...rvariables.asp
>
> I hope this helps?
>
> Cor
>
>
>[/color] | | | | re: Client IP Address or PC Name
Thanks very much Cor. This was exactly what I needed.
Homer
"Cor Ligthert" wrote:
[color=blue]
> Homer,
>
> I assume, that this is the page you are looking for, the actual IP adress of
> a computer can be very rare to find because of proxies, local networks,
> firewalls, etc.
>
> http://msdn.microsoft.com/library/de...rvariables.asp
>
> I hope this helps?
>
> Cor
>
>
>[/color] |  | Similar .NET Framework bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,358 network members.
|