-
How to find the IP address of a client machine from a Web Page
Dear All,
How to find the IP address of a client machine from a Web Page? I would like
to find out the machine name, IP address of the client machine which hs called
my Web Page. Is this possible?
Thanks a lot in advance.
Many Regards
Sunil
-
Re: How to find the IP address of a client machine from a Web Page
Hi Sunil,
"Sunil Menon" <sunil@itb-india.com> wrote in message
news:3d6f15c5$1@10.1.10.29...
> How to find the IP address of a client machine from a Web Page?
Take a look at the HttpRequest.UserHostAddress property.
--
Constance Petersen, DevX newsgroup section leader
New look; new content: http://www.smartisans.com/
Hot off the press!
"Programming the Web with Visual Basic .NET"
http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
--
Please reply in the newsgroup so everyone can benefit
-
Re: How to find the IP address of a client machine from a Web Page
Dear Constance J. Petersen,
Thanks...Can I find the machine name too...:-)
Thanks a lot in advance.
Many Regards
Sunil
"Constance J. Petersen" <constance@smartisans.com> wrote:
>Hi Sunil,
>
>"Sunil Menon" <sunil@itb-india.com> wrote in message
>news:3d6f15c5$1@10.1.10.29...
>> How to find the IP address of a client machine from a Web Page?
>
>Take a look at the HttpRequest.UserHostAddress property.
>
>--
>Constance Petersen, DevX newsgroup section leader
>New look; new content: http://www.smartisans.com/
>Hot off the press!
>"Programming the Web with Visual Basic .NET"
>http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
>--
>Please reply in the newsgroup so everyone can benefit
>
>
-
Re: How to find the IP address of a client machine from a Web Page
Hi Sunil,
"Sunil Menon" <sunil@itb-india.com> wrote in message
news:3d6f61cf$1@10.1.10.29...
> Thanks...Can I find the machine name too...:-)
You can get the .UserHostName (DNS), but afaik, you can't get the client
computer's machine name.
You might look into whether there is a client-side scripting way to get it,
which you could then pass through to the server. But, of course client-side
scripting isn't good for public internet apps because you can't count on
client-side scripting to be available and/or allowed by the user in every
browser client.
--
Constance Petersen, DevX newsgroup section leader
New look; new content: http://www.smartisans.com/
Hot off the press!
"Programming the Web with Visual Basic .NET"
http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
--
Please reply in the newsgroup so everyone can benefit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|