Kbase P88627: Will the CGI variable REMOTE_ADDR always return a unique IP address?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
Will the REMOTE_ADDR always return a unique IP address?
GOAL:
Will the REMOTE_ADDR return a unique IP address for the client?
GOAL:
Will the CGI variable REMOTE_ADDR always return a unique IP address?
FACT(s) (Environment):
WebSpeed 3.x
Windows
FIX:
The CGI environment variable REMOTE_ADDR can be used to get a client's IP address when the host making a request. But if the connecting host is using DHCP (Dynamic Host Configuration Protocol) the REMOTE_ADDR will never be the same, and will return a dynamically changing IP address.
However for a work around one can obtain the client machine's MAC address.