Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get user IP on intranet
Message
 
 
To
08/07/2014 11:23:18
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603311
Message ID:
01603320
Views:
38
>>As Michel suggests oRequest.ServerVariables("REMOTE_ADDR") is what you need (not sure why he included the other code).
>
>The computer name is also a useful one. When you run in a load balancing environment, where multiple Web servers are responding to the same application, if you look at the Hit table, assuming you have one in your application, it is very useful to know that a specific hit has been handled by a specific IIS server. This is better than logging the IP as it is more readable in that case. The IP of the user, has mentioned, is another usage.

What is "Hit table"?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform