how to find out client's IP or even domain name
I need to find out IP adderss or even domain name of a client to show him
different content. How can I do that?
Re: how to find out client's IP or even domain name
Look at the HTTP REMOTE_HOST or REMOTE_ADDR values. In ASP, you can retrieve
these through the Request.ServerVariables collection. Note that using the
collection is a relatively slow operation, so you should avoid using it on
every page if possible.
Sr. Web Development Editor
"alko" <firstname.lastname@example.org> wrote in message news:email@example.com...
> I need to find out IP adderss or even domain name of a client to show him
> different content. How can I do that?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL