Discussion Locked

IP config and login name of client

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi G'Day,
I want to get the IP addreess and login name of the client(if in network)when any one tries to aceess a specific part of my website.Can anybody help to do it in ASP and which server variable do I have to use ?
Bye!

5 replies

by grybyx

The server variables that you are looking for are LOGON_USER and REMOTE_ADDR, which contain the username and IP address of the user's computer, respectively.

Happy Programming!

by grybyx

By the way, if the user is accessing the page anonymously, LOGON_USER is empty.

This discussion is closed to new replies.