If your website is being hosted by a company that does not provide site statistics, it may be
useful for you to log IP Addresses on your own. The following script will print out the visitor's
IP Address. You can add this to your GLOBAL.ASA file, and create a script to log each IP Address
in the SESSION_ONSTART event.
If your web site is run on an IIS Server, you can use this ASP script to get the IP Addresses of
visitors to your site:
Here is your IP Address: 38.103.63.17
Related Links: Run a Command Line in ASP |
Resolve Host Names in ASP
Want to discuss this article, or other development issues? Visit our
message boards!
Or contact us directly with a comment or question on this article: click here !
|