Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IP returned in localhost
Message
De
11/08/2010 18:16:33
 
 
À
11/08/2010 17:14:09
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01476167
Message ID:
01476291
Vues:
24
>>That might be an IPv6 address. You may have to specify that you want an IPv4 address.
>>
>>http://en.wikipedia.org/wiki/Localhost
>
>I am using this to get the IP address:
>
>
>cIP = oRequest.ServerVariables("REMOTE_ADDR")
>
>
>I am not sure this can be adjusted to specify an IPv4 address.

Hmm, I can't help you with the specifics of that method call.

There is more background information at http://www.eggheadcafe.com/software/aspnet/31720251/remoteaddr-and-windows-vista.aspx
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform