|
-
Jan 30th, 2005, 08:28 AM
#1
Thread Starter
Hyperactive Member
HTTPRequest - getting IP address
I am trying to figure out the best way of "getting" the IP address of users accessing a site. I know that using the IP address to identify unique users has a few flaws...
For example, I get a different IP address every time I use my RoadRunner account! Also for many users the converse is true and that IP addresses are the same for lots of users--for example, everyone logging into your site from ASNA's home office (thanks to our firewall) will report the same IP address.
BUT ... I really need to get something working on this... Anyone with any ideas?
gollnick
-
Jan 30th, 2005, 09:21 AM
#2
Re: HTTPRequest - getting IP address
VB Code:
string ipAddress = HttpContext.Current.Request.ServerVariables("REMOTE_ADDR");
-
Jan 30th, 2005, 03:47 PM
#3
Thread Starter
Hyperactive Member
Re: HTTPRequest - getting IP address
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
|
Click Here to Expand Forum to Full Width
|