> > > >> What variable holds the IP address of a server?
> > > >>
> > > > CGI.REMOTE_ADDR
> > > 
> > > Umm.. that's looks like my IP. Not the IP of the server.
> > 
> > That's correct. There's no CGI variable which exposes any 
> > meaningful information about the IP address or DNS entry 
> > for a server.
> 
> Presumably that's a security thang?

I don't think so. I think the answer is simpler. My guess is, the web server
simply doesn't know! All it knows is that it's receiving requests at a
certain TCP/IP socket. CF, of course, only knows what it's told by the web
server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to