Obtaining an ip address

Hey guys,

I am writing a login script for our web application, and I was wondering if you knew how I could log the ip address of any user who tries to log in.  Any ideas?

Cheers!
gtbikeukAsked:
Who is Participating?
 
mikepjConnect With a Mentor Commented:
That information is in the header.  Have a look at Response.RemoteAddr or search your help file for RemoteAddr.  Then write it to a file.

0
 
PeterZGCommented:
Are you writting that in Delphi???
0
 
gtbikeukAuthor Commented:
Yes, i am using Delphi 6
0
 
gtbikeukAuthor Commented:
Thanks mate
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.