Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get user IP on intranet
Message
De
08/07/2014 11:25:15
 
 
À
08/07/2014 11:23:18
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01603311
Message ID:
01603319
Vues:
47
>>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.

Hmm. But Dmitry just wanted the IP address :-}


> The IP of the user, has mentioned, is another usage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform