> From: Dan O'Keefe
>
> > I'm using the below cgi variable to get the ipaddress of the server.
> >
> > <cfset ipaddress = "#CGI.REMOTE_ADDR#">
> >
> > How can I get the computer (server) name or domain?
>
> Did you ever find an answer to this?

CGI.REMOTE_ADDR isn't the IP address of the server, but the IP of the
user

Be careful about testing on localhost as it can give some incorrect
results compared to the site live on a server
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to