How to get IP address of the user using ASP??

Results 1 to 2 of 2

Thread: How to get IP address of the user using ASP??

  1. #1
    Join Date
    Dec 1969
    Posts
    119

    Default How to get IP address of the user using ASP??

    I want to know the IP addresses of all the persons who visited my site. How can this be done using asp??<BR>Thanks in advance.

  2. #2
    Paul Mutton Guest

    Default RE: How to get IP address of the user using ASP??

    The following code returns the I.P. address of the person looking at the ASP page:<BR><BR> Request.ServerVariables("REMOTE_ADDR")<BR><BR>You can then use this value to append the information to a text file or stick it in a database.<BR><BR>paul_merton@hotmail.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •