> I am trying to retrieve the pc name of the client. I can > retrieve the IP but not the name. Can someone give me some > direction? I search the archives and found how to retrieve > the server name but not the client.
First, you have to identify exactly what you mean by the client name. Windows requires you to assign a name to your machine, but that only affects Windows Networking (SMB/CIFS/etc). Your machine will typically also have a DNS name (although not necessarily), which may or may not be the same as your Windows machine name (depending on the integration between your IP network infrastructure and your Windows network infrastructure). For example, if I go home and use my DSL account to access your server, my machine will have two names - its DNS name and its Windows name. Chances are, you'll only be able to see the DNS name, however. If, on the other hand, I access your server from my corporate LAN, the DNS name and the Windows name may match - or you may not get a useful DNS name at all because of NAT/firewall functionality. To determine the DNS name, you perform a reverse DNS lookup on the client's IP address. To determine the Windows name, you have to use Windows Networking functionality, which probably won't be an option if you're building a public web site. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263054 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

