Visitors IP Address (REMOTE_ADDR)
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngfreeforall' list.


Chris Jackson
Hey - its me again

im looking for a way to use the System.Net.??
to get the visitors IP Address..

got a web site link for me? or code sample?

Thanks my fellow Neters.
Reply to this message...
 
    
Enrique Avalle
I grab visitor's Ip with: HttpContext.Current.Request.UserHostAddress

----- Original Message -----
From: Chris Jackson
To: aspngfreeforall
Sent: Thursday, August 15, 2002 16:28
Subject: [aspngfreeforall] Visitors IP Address (REMOTE_ADDR)

Hey - its me again

im looking for a way to use the System.Net.??
to get the visitors IP Address..

got a web site link for me? or code sample?

Thanks my fellow Neters.
| ASP.net DOCS = http://www.aspng.com/docs | [aspngfreeforall] member Click here to reveal e-mail address = YOUR ID | http://www.asplists.com/aspngfreeforall = JOIN/QUIT | news://ls.asplists.com = NEWSGROUP
Reply to this message...
 
    
Greg Quinn
Dim remoteIPAddress = Request.UserHostAddress
-----Original Message-----
From: Chris Jackson [mailto:Click here to reveal e-mail address]
Sent: Thursday, August 15, 2002 12:29 PM
To: aspngfreeforall
Subject: [aspngfreeforall] Visitors IP Address (REMOTE_ADDR)

Hey - its me again

im looking for a way to use the System.Net.??
to get the visitors IP Address..

got a web site link for me? or code sample?

Thanks my fellow Neters.
| ASP.net DOCS = http://www.aspng.com/docs | [aspngfreeforall] member
Click here to reveal e-mail address = YOUR ID | http://www.asplists.com/aspngfreeforall JOIN/QUIT | news://ls.asplists.com = NEWSGROUP
Reply to this message...
 
    
Sean Bytnar
This will get the client IP:
HttpContext.Current.Request.UserHostAddress

Sean

-----Original Message-----
From: Chris Jackson [mailto:Click here to reveal e-mail address]
Sent: Thursday, August 15, 2002 2:29 PM
To: aspngfreeforall
Subject: [aspngfreeforall] Visitors IP Address (REMOTE_ADDR)

Hey - its me again

im looking for a way to use the System.Net.??
to get the visitors IP Address..

got a web site link for me? or code sample?

Thanks my fellow Neters.
| ASP.net DOCS = http://www.aspng.com/docs | [aspngfreeforall] member
Click here to reveal e-mail address = YOUR ID | http://www.asplists.com/aspngfreeforall JOIN/QUIT | news://ls.asplists.com = NEWSGROUP
Reply to this message...
 
 
System.Web.HttpContext




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com